Skip to content

Commit

Permalink
Set bash shell for devcontainer user
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Apr 12, 2023
1 parent 767c5df commit 2b15def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-focal
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LABEL org.opencontainers.image.authors="[email protected]"

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install --yes sudo
RUN useradd --create-home --user-group --groups sudo ubuntu
RUN useradd --create-home --shell /bin/bash --user-group --groups sudo ubuntu
RUN sed --in-place --expression '/^%sudo/ s/ALL$/NOPASSWD: ALL/' /etc/sudoers

COPY scripts/prepare-container-focal.sh /usr/sbin
Expand Down

0 comments on commit 2b15def

Please sign in to comment.