pikaur_builder/Dockerfile.root

21 lines
383 B
Docker
Raw Normal View History

2021-02-20 20:41:42 +01:00
FROM archlinux:latest
RUN pacman -Sy --noconfirm \
base-devel \
glibc \
git \
sudo \
python-commonmark \
pyalpm \
&& mkdir /build
VOLUME ["/var/lib/pacman", "/var/cache/pacman"]
WORKDIR /build
RUN git clone https://aur.archlinux.org/pikaur.git \
&& cd pikaur \
&& makepkg -fsri --noconfirm
ENTRYPOINT ["/usr/bin/pikaur"]
CMD []