| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user