aur_builder/Containerfile
Balakrishnan Balasubramanian 1d46cde88b Cleanup
1. Save output along with log inside output directory
2. Remove wip yay support
2025-03-27 13:56:35 -04:00

22 lines
414 B
Docker

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