blob: 4e0347677075508ab253abf7921199b92a77df2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# This is used only to test that this package builds on a fresh install of Arch Linux
FROM archlinux:20200106
RUN set -xe; \
pacman -Syu --noconfirm; \
pacman -S --noconfirm sudo base-devel git
RUN useradd -m user
RUN echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER user
RUN set -xe; \
cd $(mktemp -d); \
git clone https://aur.archlinux.org/papeaks-git.git; \
cd papeaks-git; \
makepkg -si --noconfirm
RUN mkdir /tmp/pkg
WORKDIR /tmp/pkg
COPY ./ ./
RUN makepkg -si --noconfirm
|