mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 07:36:21 +00:00
Update archplasma/Dockerfile
This commit is contained in:
parent
10f94eac50
commit
f0b4445942
1 changed files with 1 additions and 2 deletions
|
|
@ -26,8 +26,7 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
&& useradd --create-home --gid users --shell /usr/bin/bash user \
|
&& 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 'user ALL=(ALL:ALL) NOPASSWD: MISCELLANEOUS, /usr/bin/pacman -S' >/etc/sudoers.d/zz-DOCKER \
|
||||||
&& echo 'Defaults lecture = never' >>/etc/sudoers.d/zz-DOCKER \
|
&& echo 'Defaults lecture = never' >>/etc/sudoers.d/zz-DOCKER \
|
||||||
&& passwd -l root >/dev/null 2>&1 \
|
&& passwd -l root >/dev/null 2>&1
|
||||||
&& chown -R user /app
|
|
||||||
|
|
||||||
# configure nvidia container runtime
|
# configure nvidia container runtime
|
||||||
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec
|
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue