Skip to content

Instantly share code, notes, and snippets.

@laurelmay
Created February 26, 2020 23:39
Show Gist options
  • Save laurelmay/d4c95d6b1e1a6a4df3b26d7736de9b1d to your computer and use it in GitHub Desktop.
Save laurelmay/d4c95d6b1e1a6a4df3b26d7736de9b1d to your computer and use it in GitHub Desktop.
FROM archlinux:latest
COPY test-pkgbuild.sh /usr/bin/test-pkgbuild.sh
RUN pacman -Syu --noconfirm sudo base-devel \
&& useradd -m builduser \
&& echo "builduser ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers
USER builduser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment