mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 18:06:22 +00:00
Update archplasma/Dockerfile
This commit is contained in:
parent
5bc25a413a
commit
53a50327d1
1 changed files with 16 additions and 9 deletions
|
|
@ -7,7 +7,11 @@ ENV STARTXBIN=startplasma-x11
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
pacman -Syu --ask 4 --needed \
|
pacman-key --init \
|
||||||
|
&& sed -i '/ParallelDownloads/c ParallelDownloads = 10' /etc/pacman.conf \
|
||||||
|
&& pacman -Sy --ask 4 archlinux-keyring \
|
||||||
|
&& pacman -Su --ask 4 --needed \
|
||||||
|
sudo bash-completion \
|
||||||
tigervnc \
|
tigervnc \
|
||||||
cuda openssh vim pacman-contrib rsync git \
|
cuda openssh vim pacman-contrib rsync git \
|
||||||
plasma konsole kate dolphin kompare kcalc \
|
plasma konsole kate dolphin kompare kcalc \
|
||||||
|
|
@ -16,7 +20,10 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
torbrowser-launcher \
|
torbrowser-launcher \
|
||||||
shotwell ffmpegthumbs ark okular \
|
shotwell ffmpegthumbs ark okular \
|
||||||
&& pacman -Scc --ask 4 \
|
&& pacman -Scc --ask 4 \
|
||||||
&& echo 'Cmnd_Alias MISCELLANEOUS = /usr/bin/pacman -S' >/etc/sudoers.d/01-MISCELLANEOUS
|
&& 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
|
||||||
|
|
||||||
# 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