Update Dockerfile
This commit is contained in:
parent
666e2eaae5
commit
d5ac3323d1
17
Dockerfile
17
Dockerfile
@ -1,14 +1,7 @@
|
||||
# We just want archlinux with an aur helper already included
|
||||
# Debian Sid with expermintal, pika and dmo repos
|
||||
# Bump for rebuild on 07/01/2024 18:17 UTC +3
|
||||
FROM archlinux:latest
|
||||
RUN pacman -Syu --noconfirm
|
||||
RUN pacman -S --needed git wget base-devel --noconfirm
|
||||
FROM debian:sid
|
||||
RUN apt update
|
||||
RUN apt install -y wget curl vim sudo systemd ifupdown rsyslog logrotate less bash-completion ca-certificates netbase lsb-release apt-utils gnupg2 apt-transport-https
|
||||
RUN wget https://github.com/Jguer/yay/releases/download/v12.2.0/yay_12.2.0_x86_64.tar.gz
|
||||
RUN tar -xf ./yay_12.2.0_x86_64.tar.gz
|
||||
RUN mv ./yay_12.2.0_x86_64/yay /usr/bin/build-yay
|
||||
# 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 ~ && build-yay -S yay --noconfirm'
|
||||
RUN rm -rfv /usr/bin/build-yay
|
||||
RUN ./setup.sh
|
||||
|
Loading…
Reference in New Issue
Block a user