Created
May 4, 2023 02:39
-
-
Save FernandoCelmer/597e53f8e70f822a13e4ced14cc5128a to your computer and use it in GitHub Desktop.
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 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