FROM docker.io/archlinux:base-devel LABEL Description="Container to build archlinux packages" COPY makepkg.conf /etc/makepkg.conf.d/custom.conf COPY sudoers /etc/sudoers.d/builder COPY run.sh /run.sh RUN echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts COPY mirrorlist /etc/pacman.d/mirrorlist RUN pacman -Sy --noconfirm git RUN useradd builder -m WORKDIR /home/builder USER builder CMD /run.sh