Dockerfile including Arch Linux, AUR helper and more..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

15 lines
340 B

from archlinux/archlinux:base-devel
run pacman -Syu --noconfirm --needed git sudo
run echo "container ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
run useradd --create-home container
user container
run git clone https://aur.archlinux.org/yay /tmp/yay
workdir /tmp/yay
run makepkg -si --noconfirm
run rm -r /tmp/yay
workdir /home/container