File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ RUN apt-get -y update && \
31
31
llvm \
32
32
llvm-dev \
33
33
lsb-release \
34
+ locales \
34
35
netcat-openbsd \
35
36
python-is-python3 \
36
37
python2 \
@@ -66,6 +67,9 @@ WORKDIR /
66
67
# Allow using sudo inside the container.
67
68
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
68
69
70
+ # Ensure that Bazel can use its beloved ISO-8859-1 locale.
71
+ RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1
72
+
69
73
FROM ubuntu2004-bazel-nojdk AS ubuntu2004-nojdk
70
74
71
75
# ## Install Google Cloud SDK.
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ RUN apt-get -y update && \
31
31
llvm \
32
32
llvm-dev \
33
33
lsb-release \
34
+ locales \
34
35
netcat-openbsd \
35
36
openssh-client \
36
37
python-is-python3 \
@@ -58,6 +59,9 @@ RUN apt-get -y update && \
58
59
# Allow using sudo inside the container.
59
60
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
60
61
62
+ # Ensure that Bazel can use its beloved ISO-8859-1 locale.
63
+ RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1
64
+
61
65
FROM ubuntu2204-bazel-nojdk AS ubuntu2204-nojdk
62
66
63
67
# ## Install Google Cloud SDK.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ RUN apt-get -y update && \
30
30
llvm \
31
31
llvm-dev \
32
32
lsb-release \
33
+ locales \
33
34
netcat-openbsd \
34
35
openssh-client \
35
36
python-is-python3 \
@@ -55,6 +56,9 @@ RUN apt-get -y update && \
55
56
# Allow using sudo inside the container.
56
57
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
57
58
59
+ # Ensure that Bazel can use its beloved ISO-8859-1 locale.
60
+ RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1
61
+
58
62
FROM ubuntu2404-bazel-nojdk AS ubuntu2404-nojdk
59
63
60
64
# ## Install Google Cloud SDK.
You can’t perform that action at this time.
0 commit comments