Skip to content

Commit

Permalink
remove ubuntu user from devbox
Browse files Browse the repository at this point in the history
  • Loading branch information
charlielye committed May 3, 2024
1 parent 27b99bf commit e8f0ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-images/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ devbox:
fi \
' >> /etc/zsh/zshrc

# Create the user we'll run as and become the user.
RUN useradd --shell /bin/zsh -G sudo -m aztec-dev
# Create the user we'll run as and become the user (remove ubuntu first).
RUN userdel -r ubuntu && useradd --shell /bin/zsh -G sudo -m aztec-dev
USER aztec-dev
WORKDIR /home/aztec-dev

Expand Down

0 comments on commit e8f0ddd

Please sign in to comment.