mirror of
https://github.com/coder/code-server.git
synced 2024-12-25 02:33:34 +03:00
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:
parent
f8dc3fccac
commit
7e05ca09bb
@ -21,9 +21,6 @@ RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen \
|
|||||||
&& locale-gen
|
&& locale-gen
|
||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
|
|
||||||
RUN chsh -s /bin/bash
|
|
||||||
ENV SHELL=/bin/bash
|
|
||||||
|
|
||||||
RUN adduser --gecos '' --disabled-password coder && \
|
RUN adduser --gecos '' --disabled-password coder && \
|
||||||
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user