Skip to content

Commit a98dbe3

Browse files
author
Ayane Satomi
committed
docker: ensure SHELL is always bash
Signed-off-by: Ayane Satomi <sr229@coder.com>
1 parent 727a2af commit a98dbe3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ RUN apt-get update && apt-get install -y \
3838
RUN locale-gen en_US.UTF-8
3939
# We cannot use update-locale because docker will not use the env variables
4040
# configured in /etc/default/locale so we need to set it manually.
41-
ENV LC_ALL=en_US.UTF-8
41+
ENV LC_ALL=en_US.UTF-8 \
42+
SHELL=bash
4243

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

heroku.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN apt-get update && apt-get install -y \
1717
RUN locale-gen en_US.UTF-8
1818
# We cannot use update-locale because docker will not use the env variables
1919
# configured in /etc/default/locale so we need to set it manually.
20-
ENV LC_ALL=en_US.UTF-8
20+
ENV LC_ALL=en_US.UTF-8 \
21+
SHELL=bash
2122

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

0 commit comments

Comments
 (0)