summaryrefslogtreecommitdiff
path: root/Containerfile.ci
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile.ci')
-rw-r--r--Containerfile.ci9
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