Skip to content

Commit 2b15def

Browse files
committed
Set bash shell for devcontainer user
Signed-off-by: Nicolas Bock <[email protected]>
1 parent 767c5df commit 2b15def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile-focal

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ LABEL org.opencontainers.image.authors="[email protected]"
33

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

99
COPY scripts/prepare-container-focal.sh /usr/sbin

0 commit comments

Comments
 (0)