Created
August 3, 2017 13:25
-
-
Save eirikb/8c6df6ea47483ea8f83eb4033a1532a2 to your computer and use it in GitHub Desktop.
Arch Linux AUR in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 https://aur.archlinux.org/binaryen.git | |
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