Skip to content

Instantly share code, notes, and snippets.



Created Aug 3, 2017
What would you like to do?
Arch Linux AUR in Docker
FROM base/archlinux
RUN pacman -Syu
RUN pacman -S --noconfirm git base-devel
WORKDIR /build
RUN useradd -d /build build-user
RUN echo "build-user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN chown -R build-user /build
USER build-user
RUN git clone
WORKDIR /build/binaryen
RUN makepkg -si --noconfirm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.