Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit a42b684

Browse files
committed
Debian packages: Add explicit check for locale-gen creating locales
In case Debian changes the logic of how locale-gen works, this will flag it early during the build process.
1 parent 55e45ba commit a42b684

File tree

13 files changed

+39
-26
lines changed

13 files changed

+39
-26
lines changed

11/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

14/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

14/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

15/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

15/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

16/bookworm/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

16/bullseye/Dockerfile

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile-debian.template

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ RUN set -eux; \
4949
! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; \
5050
fi; \
5151
apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; \
52-
echo en_US.UTF-8 UTF-8 >> /etc/locale.gen; \
53-
locale-gen
52+
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen; \
53+
locale-gen; \
54+
locale -a | grep 'en_US.utf8'
5455
ENV LANG en_US.utf8
5556

5657
RUN set -eux; \

0 commit comments

Comments
 (0)