FROM docker.io/archlinux:base-devel RUN pacman-key --init RUN pacman -Sy archlinux-keyring --noconfirm RUN pacman -Syu git --noconfirm RUN echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers RUN useradd --uid 1355 --create-home --shell /bin/bash --groups wheel build && \ install -d /home/build/iso -o build VOLUME [ "/home/build/iso" ] USER build WORKDIR /home/build RUN git clone https://git.noveria.org/LinuxSquare/PKGBUILDS.git && \ cd PKGBUILDS && \ git checkout PKGBUILD/alpineiso && \ makepkg --noconfirm -si && \ cd .. && \ rm -rf PKGBUILDS && \ sudo pacman --noconfirm -Scc RUN sudo chown -R build:wheel /home/build WORKDIR /home/build/iso