From ed09c63930ed66e56424ac5e81bf0c787691e426 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 12 Jul 2024 16:08:57 +0200 Subject: ci: ensure the required locales are generated --- Containerfile.ci | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Containerfile.ci') 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 -- cgit v1.2.3