philcruz
05/20/2023, 1:47 AMFROM codercom/enterprise-base:ubuntu
USER root
ARG AWS_IAM_AUTH_VER="0.5.7"
ARG YQ_VERSION="4.25.2"
ARG PULUMI_VERSION="3.67.1"
ARG HELM_VERSION="3.11.3"
RUN apt-get update && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' ; \
curl -sL https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg >/dev/null && \
sh -c 'echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/hashicorp.list'; \
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - ; \
apt-get update; apt-get install -y autojump nodejs yarn build-essential ansible jq openssh-client tmux amazon-ecr-credential-helper nano \
unzip mc postgresql-client libpq-dev libmysqlclient-dev mysql-client; apt-get dist-upgrade -y; \
apt-get clean && rm -rf /var/lib/apt/lists/*;
USER coder
# https://github.com/deluan/zsh-in-docker
# Uses "robbyrussell" theme (original Oh My Zsh theme), with no plugins
RUN sh -c "$(curl -L https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \
-t robbyrussell \
-p autojump
when I run this image locally it works as expected and I can see a /home/coder/.oh-my-zsh folder created. When I use this from Coder, I don't get that folder created. What could be the issue?