Update archplasma/Dockerfile

This commit is contained in:
myve 2024-07-21 02:01:13 +00:00
commit f0b4445942

View file

@ -26,8 +26,7 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
&& useradd --create-home --gid users --shell /usr/bin/bash user \
&& echo 'user ALL=(ALL:ALL) NOPASSWD: MISCELLANEOUS, /usr/bin/pacman -S' >/etc/sudoers.d/zz-DOCKER \
&& echo 'Defaults lecture = never' >>/etc/sudoers.d/zz-DOCKER \
&& passwd -l root >/dev/null 2>&1 \
&& chown -R user /app
&& passwd -l root >/dev/null 2>&1
# configure nvidia container runtime
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec