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.

16 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 /tmp/yay
workdir /tmp/yay
run makepkg -si --noconfirm
run rm -r /tmp/yay
workdir /home/container