Skip to content

Instantly share code, notes, and snippets.

@FernandoCelmer
Created May 4, 2023 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FernandoCelmer/597e53f8e70f822a13e4ced14cc5128a to your computer and use it in GitHub Desktop.
Save FernandoCelmer/597e53f8e70f822a13e4ced14cc5128a to your computer and use it in GitHub Desktop.
FROM archlinux:base-devel
RUN useradd -m build && \
pacman -Syu --noconfirm && \
pacman -Sy --noconfirm git && \
echo "build ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/build
USER build
WORKDIR /home/build
RUN git clone https://aur.archlinux.org/google-chrome.git && \
cd google-chrome && \
makepkg --noconfirm --syncdeps --rmdeps --install --clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment