Skip to content

Commit c8ff74d

Browse files
committed
Improve first user experience with docker by setting /bin/bash as shell
1 parent 22caabb commit c8ff74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/templates/docker/build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apt-get update \
1111
&& rm -rf /var/lib/apt/lists/*
1212

1313
ARG USER=coder
14-
RUN useradd --groups sudo --no-create-home ${USER} \
14+
RUN useradd --groups sudo --no-create-home --shell /bin/bash ${USER} \
1515
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
1616
&& chmod 0440 /etc/sudoers.d/${USER}
1717
USER ${USER}

0 commit comments

Comments
 (0)