Skip to content

Commit

Permalink
Add Latin-1 locale to Ubuntu images (#2078)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum authored Oct 24, 2024
1 parent 7bca195 commit 1c7d770
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildkite/docker/ubuntu2004/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get -y update && \
llvm \
llvm-dev \
lsb-release \
locales \
netcat-openbsd \
python-is-python3 \
python2 \
Expand Down Expand Up @@ -66,6 +67,9 @@ WORKDIR /
# Allow using sudo inside the container.
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers

# Ensure that Bazel can use its beloved ISO-8859-1 locale.
RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1

FROM ubuntu2004-bazel-nojdk AS ubuntu2004-nojdk

### Install Google Cloud SDK.
Expand Down
4 changes: 4 additions & 0 deletions buildkite/docker/ubuntu2204/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get -y update && \
llvm \
llvm-dev \
lsb-release \
locales \
netcat-openbsd \
openssh-client \
python-is-python3 \
Expand Down Expand Up @@ -58,6 +59,9 @@ RUN apt-get -y update && \
# Allow using sudo inside the container.
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers

# Ensure that Bazel can use its beloved ISO-8859-1 locale.
RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1

FROM ubuntu2204-bazel-nojdk AS ubuntu2204-nojdk

### Install Google Cloud SDK.
Expand Down
4 changes: 4 additions & 0 deletions buildkite/docker/ubuntu2404/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN apt-get -y update && \
llvm \
llvm-dev \
lsb-release \
locales \
netcat-openbsd \
openssh-client \
python-is-python3 \
Expand All @@ -55,6 +56,9 @@ RUN apt-get -y update && \
# Allow using sudo inside the container.
RUN echo "ALL ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers

# Ensure that Bazel can use its beloved ISO-8859-1 locale.
RUN localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1

FROM ubuntu2404-bazel-nojdk AS ubuntu2404-nojdk

### Install Google Cloud SDK.
Expand Down

0 comments on commit 1c7d770

Please sign in to comment.