summaryrefslogtreecommitdiff
path: root/Containerfile.ci
blob: df60a6613b59613f1a042eb7fc77d4840a9aedfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM docker.io/archlinux:latest

LABEL org.opencontainers.image.title="bookie CI image"

RUN pacman-key --init \
  && pacman -Syu --noconfirm --noprogressbar \
  'archlinux-keyring' \
  && pacman -Syu --noconfirm --noprogressbar --needed \
  'base-devel' \
  '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' \
  && yes | pacman -Sccdd \
  && useradd -m builduser \
  && echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

ENV XDG_RUNTIME_DIR=/tmp \
  WAYLAND_DISPLAY=wl-test-env

USER builduser