Archived
1
0

release-image: Remove unnecessary call to chsh (#2457)

Confused me in #2410, see #2455

debian:10 defaults to bash as $SHELL
This commit is contained in:
Anmol Sethi 2020-12-14 16:22:24 -05:00 committed by GitHub
parent f8dc3fccac
commit 7e05ca09bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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