1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 21:25:25 +00:00

Set SHELL to /bin/bash in Docker

Fixes #1081, fixes #918.
This commit is contained in:
Asher 2019-10-23 13:33:53 -05:00
parent eea9c1618c
commit 91f49e1efd
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ RUN apt-get update && apt-get install -y \
RUN locale-gen en_US.UTF-8
# We cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LC_ALL=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8 \
SHELL=/bin/bash
RUN adduser --gecos '' --disabled-password coder && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd

View File

@ -15,7 +15,8 @@ RUN apt-get update && apt-get install -y \
RUN locale-gen en_US.UTF-8
# We cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LC_ALL=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8 \
SHELL=/bin/bash
RUN adduser --gecos '' --disabled-password coder && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd