Skip to content

Commit

Permalink
Merge pull request #90 from marcojob/feature/nicer-devcontainer
Browse files Browse the repository at this point in the history
devcontainer: Use bash, add bashrc
  • Loading branch information
victorreijgwart authored Dec 10, 2024
2 parents 557b37a + f8a566b commit f43f604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ARG USERNAME=ci
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN groupadd --gid $USER_GID $USERNAME && \
useradd --uid $USER_UID --gid $USER_GID $USERNAME && \
useradd --uid $USER_UID --gid $USER_GID --shell /bin/bash $USERNAME && \
cp -a /etc/skel/.bashrc /home/$USERNAME/ && \
chown -R $USERNAME:$USERNAME /home/$USERNAME && \
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME
Expand Down

0 comments on commit f43f604

Please sign in to comment.