1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FROM archlinux RUN pacman -Sy --noconfirm base-devel git ADD . /home/builduser RUN useradd builduser -m \ && passwd -d builduser \ && echo -e 'builduser ALL=(ALL) NOPASSWD: ALL\n' >> /etc/sudoers \ && chown -Rf builduser /home/builduser WORKDIR /home/builduser USER builduser #RUN ["makepkg", "-si", "--noconfirm"]