FROM archlinux:base-devel WORKDIR /builder/ RUN pacman-key --init RUN sed -i '/# The testing repositories are disabled by default/ i Include = /etc/pacman.d/pacman-releng.conf' /etc/pacman.conf COPY pacman-releng.conf mirrorlist /etc/pacman.d/ COPY bootstrap-arch32-trust / RUN /bootstrap-arch32-trust RUN rm /bootstrap-arch32-trust RUN pacman -Syu --noconfirm git openssh lsof moreutils wget devtools32 RUN sed -i ' \ /PACKAGER/ s/.*/PACKAGER="Erich Eckner "/; \ /^OPTIONS/ s/ debug/ !debug/ \ ' /etc/makepkg.conf RUN useradd -m builder RUN git clone https://git.archlinux32.org/builder/ /builder RUN mkdir /builder/work RUN chown builder:builder /builder/work USER builder RUN /builder/lib/load-configuration RUN rm /builder/work/.ssh/id_rsa /builder/work/.ssh/id_rsa.pub COPY slave.conf /builder/conf/ CMD /builder/bin/build-packages