Update archplasma/Dockerfile

This commit is contained in:
myve 2024-07-21 02:22:20 +00:00
commit 0213c2156e

View file

@ -24,8 +24,8 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
shotwell ffmpegthumbs ark okular \
&& pacman -Scc --ask 4 \
&& useradd --create-home --gid users --shell /usr/bin/bash user \
&& echo 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -S' >/etc/sudoers.d/zz-DOCKER \
&& echo 'Defaults lecture = never' >>/etc/sudoers.d/zz-DOCKER \
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman -S' \
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
&& passwd -l root >/dev/null 2>&1
# configure nvidia container runtime