Compare commits

...

2 Commits

Author SHA1 Message Date
MedzikUser b35c5d081e
update 2021-10-17 12:02:43 +02:00
MedzikUser f164242e7d
update 2021-10-17 12:01:12 +02:00
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
FROM archlinux:base-devel
ADD pacman.conf /etc/pacman.conf
ADD mirrorlist /etc/pacman.d/mirrorlist
RUN pacman -Syu --noconfirm \
git \
@ -12,10 +13,10 @@ RUN pacman -Syu --noconfirm \
python-pip \
python-requests
RUN useradd -m -d /build -s /bin/bash archie
RUN useradd --create-home build
ADD sudoers /etc/sudoers
USER archie
USER build
RUN sudo echo "Running 'sudo' for archie: success"
RUN sudo echo "Running 'sudo' for build: success"

2
mirrorlist Normal file
View File

@ -0,0 +1,2 @@
Server = https://mirror-arch.magicuser.cf/$repo/os/$arch
Server = https://mirror-arch1.magicuser.cf/archlinux/$repo/os/$arch

View File

@ -1,2 +1,2 @@
root ALL=(ALL) ALL
archie ALL=(ALL) NOPASSWD: ALL
build ALL=(ALL) NOPASSWD: ALL