From 1df91fb50836f0c55d66c20c03b6b18c144f4e66 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 23 Oct 2023 10:19:24 +0000 Subject: [PATCH] sudo and curl are there already Signed-off-by: fbt --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index f279d01..83a5b20 100644 --- a/Containerfile +++ b/Containerfile @@ -3,7 +3,7 @@ # Stage 0 FROM archlinux:base-devel RUN pacman-key --init -RUN pacman -Suy --noconfirm git sudo +RUN pacman -Suy --noconfirm git RUN useradd --no-create-home --shell=/bin/false build && usermod -L build && echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers RUN git clone https://aur.archlinux.org/stable-diffusion-ui.git /sdu @@ -24,7 +24,7 @@ RUN pacman -Suy --noconfirm COPY init /init COPY config.yaml /config.yaml -RUN pacman -S --noconfirm curl which nvidia-utils +RUN pacman -S --noconfirm which nvidia-utils RUN useradd -m -s /usr/bin/bash -d /srv/stable-diffusion stable-diffusion ENTRYPOINT /init