sudo and curl are there already

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2023-10-23 10:19:24 +00:00
parent 6010e48488
commit 1df91fb508

View File

@ -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