diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 16:08:57 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 16:08:57 +0200 |
| commit | ed09c63930ed66e56424ac5e81bf0c787691e426 (patch) | |
| tree | 0c6d3a6850500b9bfb464049d0107b78c9aa2c96 /Containerfile.ci | |
| parent | 44755b2af3e1ea9110735b119e2c7d1538fae46f (diff) | |
| download | turns-ed09c63930ed66e56424ac5e81bf0c787691e426.tar.xz turns-ed09c63930ed66e56424ac5e81bf0c787691e426.zip | |
ci: ensure the required locales are generated
Diffstat (limited to 'Containerfile.ci')
| -rw-r--r-- | Containerfile.ci | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Containerfile.ci b/Containerfile.ci index df60a66..eab8e5f 100644 --- a/Containerfile.ci +++ b/Containerfile.ci @@ -1,12 +1,14 @@ -FROM docker.io/archlinux:latest +FROM docker.io/archlinux:base-devel LABEL org.opencontainers.image.title="bookie CI image" +ADD locale.gen.ci /etc/locale.gen + RUN pacman-key --init \ + && echo 'NoExtract = !usr/share/locale/* !usr/share/i18n/*' >> /etc/pacman.conf \ && pacman -Syu --noconfirm --noprogressbar \ - 'archlinux-keyring' \ + 'glibc' \ && pacman -Syu --noconfirm --noprogressbar --needed \ - 'base-devel' \ 'catch2>=3.6' \ 'cmake>=3.29' \ 'gcc>=14.1.0' \ @@ -17,6 +19,7 @@ RUN pacman-key --init \ 'ninja>=1.11' \ 'pkgconf' \ 'weston' \ + && locale-gen \ && yes | pacman -Sccdd \ && useradd -m builduser \ && echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers |
