blob: f3c8685d22d04a596c6fbe1acf47e11b1b7f5299 (
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
28
29
30
31
32
33
34
35
36
37
|
FROM docker.io/archlinux:base-devel
LABEL org.opencontainers.image.title="turns CI image"
ADD etc/locale.gen /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
|