pika-debian-bleedingedge/Dockerfile
Ward Nakchbandi (Cosmic Fusion) 259b3a612e
Update Dockerfile
2023-08-14 18:22:51 +03:00

14 lines
590 B
Docker

# We just want archlinux with an aur helper already included
# Bump for rebuild on 14/08/2023 17:30 UTC +3
FROM archlinux:latest
RUN pacman -Syu --noconfirm
RUN pacman -S --needed git wget base-devel --noconfirm
RUN wget https://github.com/Jguer/yay/releases/download/v12.1.2/yay_12.1.2_x86_64.tar.gz
RUN tar -xf ./yay_12.1.2_x86_64.tar.gz
RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/
# Root DANGEROUS BLAH BLAH BLAH
RUN useradd builduser -m
RUN passwd -d builduser
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
RUN sudo -u builduser bash -c 'cd ~ && yay -S yay-bin --noconfirm'