File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,24 @@ SHELL ["/bin/sh", "-c"]
66# Default to supporting utf-8
77ENV LANG=C.UTF-8
88
9+ # Explicitly set supported locales
10+ COPY locale.gen /etc/locale.gen
11+
912# Install required packages
1013RUN apt-get update -q \
1114 && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
1215 busybox \
1316 ca-certificates \
17+ locales \
1418 openssh-server \
1519 tzdata \
1620 wget \
1721 perl \
1822 libperl5.34 \
23+ && locale-gen \
24+ && cp -a /usr/lib/locale/locale-archive /tmp/locale-archive \
25+ && DEBIAN_FRONTEND=noninteractive apt-get purge -yq locales \
26+ && mv /tmp/locale-archive /usr/lib/locale/locale-archive \
1927 && rm -rf /var/lib/apt/lists/*
2028
2129# Use BusyBox
Original file line number Diff line number Diff line change 1+ C.UTF-8 UTF-8
2+ en_US.UTF-8 UTF-8
You can’t perform that action at this time.
0 commit comments