Skip to content

Commit

Permalink
release-image: Remove unnecessary call to chsh (#2457)
Browse files Browse the repository at this point in the history
Confused me in #2410, see #2455

debian:10 defaults to bash as $SHELL
  • Loading branch information
nhooyr authored Dec 14, 2020
1 parent f8dc3fc commit 7e05ca0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ci/release-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen \
&& locale-gen
ENV LANG=en_US.UTF-8

RUN chsh -s /bin/bash
ENV SHELL=/bin/bash

RUN adduser --gecos '' --disabled-password coder && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd

Expand Down

0 comments on commit 7e05ca0

Please sign in to comment.