Skip to content

Commit

Permalink
Pushing empty docker config json (#2082)
Browse files Browse the repository at this point in the history
try pushing empty json
  • Loading branch information
hellt committed Jun 10, 2024
1 parent 0a4fa57 commit fc94dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/containers/codespaces/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN if [ -z "$CLAB_VERSION" ]; then \
RUN bash -c "$(curl -sL https://get-gnmic.openconfig.net)" && bash -c "$(curl -sL https://get-gnoic.kmrd.dev)"

# add empty docker config files to avoid clab warnings for root user
RUN mkdir -p /root/.docker && touch /root/.docker/config.json
RUN mkdir -p /root/.docker && echo "{}" > /root/.docker/config.json

# vscode user is created in the MS devcontainer image
USER vscode
Expand All @@ -30,7 +30,7 @@ RUN ssh-keygen -t ecdsa -b 256 -N "" -f ~/.ssh/id_ecdsa
RUN bash -c "$(curl https://pyenv.run)"

# add empty docker config files to avoid clab warnings for vscode user
RUN mkdir -p /home/vscode/.docker && touch /home/vscode/.docker/config.json
RUN mkdir -p /home/vscode/.docker && echo "{}" > /home/vscode/.docker/config.json

# setup zsh/oh-my-zsh
COPY ./zsh/.zshrc /home/vscode/.zshrc
Expand Down

0 comments on commit fc94dd4

Please sign in to comment.