Skip to content

Commit 6097834

Browse files
authored
Merge pull request #43 from RexQian/master
fix: non ASCII env build fail
2 parents 5b2f0d2 + 1dc36be commit 6097834

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ RUN apt-get -qq update && \
2727
lib32ncurses5 \
2828
lib32z1 \
2929
unzip \
30+
locales \
3031
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
32+
RUN locale-gen en_US.UTF-8
33+
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
3134

3235
RUN rm -f /etc/ssl/certs/java/cacerts; \
3336
/var/lib/dpkg/info/ca-certificates-java.postinst configure

0 commit comments

Comments
 (0)