1. Save output along with log inside output directory 2. Remove wip yay support
22 lines
414 B
Docker
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
|