diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000000..4e0347677075 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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 |