Skip to content

Commit 20f9105

Browse files
authored
Merge pull request #1 from commonlispbr/fix-locale
Fix Dockerfile locale to en_US
2 parents 7a0d097 + 9650d50 commit 20f9105

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM debian:9
22
RUN echo 'export PATH=$HOME/.roswell/bin:$PATH' >> ~/.bashrc
3-
RUN apt update && apt install -y curl make bzip2 libcurl3-gnutls &&\
4-
curl -L -O https://github.com/roswell/roswell/releases/download/v19.3.10.97/roswell_19.3.10.97-1_amd64.deb &&\
3+
# Set the locale
4+
RUN apt-get install locales -y
5+
RUN sed --in-place '/en_US.UTF-8/s/^#//' /etc/locale.gen
6+
RUN locale-gen en_US.UTF-8
7+
ENV LANG en_US.UTF-8
8+
ENV LANGUAGE en_US:en
9+
ENV LC_ALL en_US.UTF-8
10+
RUN apt update && apt install -y curl make bzip2 libcurl3-gnutls
11+
RUN curl -L -O https://github.com/roswell/roswell/releases/download/v19.3.10.97/roswell_19.3.10.97-1_amd64.deb && \
512
dpkg -i *.deb && ros && rm *.deb
13+

0 commit comments

Comments
 (0)