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"]
6
6
# Default to supporting utf-8
7
7
ENV LANG=C.UTF-8
8
8
9
+ # Explicitly set supported locales
10
+ COPY locale.gen /etc/locale.gen
11
+
9
12
# Install required packages
10
13
RUN apt-get update -q \
11
14
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
12
15
busybox \
13
16
ca-certificates \
17
+ locales \
14
18
openssh-server \
15
19
tzdata \
16
20
wget \
17
21
perl \
18
22
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 \
19
27
&& rm -rf /var/lib/apt/lists/*
20
28
21
29
# 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