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 \ 'glibc' \ && pacman -Syu --noconfirm --noprogressbar --needed \ 'catch2>=3.6' \ 'cmake>=3.29' \ 'gcc>=14.1.0' \ 'git' \ 'gtkmm-4.0>=4.14' \ 'libadwaita>=1.5' \ 'lcov' \ 'ninja>=1.11' \ 'pkgconf' \ 'weston' \ && locale-gen \ && useradd -m builduser \ && echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers \ && mkdir aur && chown builduser: aur \ && cd aur \ && sudo -u builduser git clone 'https://aur.archlinux.org/cambalache.git' \ && cd cambalache \ && sudo -u builduser makepkg -irs --noconfirm --noprogressbar --needed \ && cd ../.. \ && rm -rf aur \ && yes | pacman -Sccdd ENV XDG_RUNTIME_DIR=/tmp \ WAYLAND_DISPLAY=wl-test-env USER builduser