summaryrefslogtreecommitdiff
path: root/Containerfile.ci
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile.ci')
-rw-r--r--Containerfile.ci11
1 files changed, 9 insertions, 2 deletions
diff --git a/Containerfile.ci b/Containerfile.ci
index eab8e5f..59a07f3 100644
--- a/Containerfile.ci
+++ b/Containerfile.ci
@@ -20,9 +20,16 @@ RUN pacman-key --init \
'pkgconf' \
'weston' \
&& locale-gen \
- && yes | pacman -Sccdd \
&& useradd -m builduser \
- && echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
+ && 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