mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 00:06:21 +00:00
Add archplasma/Dockerfile
This commit is contained in:
parent
2622f6d045
commit
368ed4d2a7
1 changed files with 31 additions and 0 deletions
31
archplasma/Dockerfile
Normal file
31
archplasma/Dockerfile
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# syntax = docker/dockerfile:1.2
|
||||||
|
FROM quay.io/archlinux/archlinux:base-devel
|
||||||
|
USER root
|
||||||
|
|
||||||
|
# X session environment variable
|
||||||
|
ENV STARTXBIN=startplasma-x11
|
||||||
|
|
||||||
|
# Install packages
|
||||||
|
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||||
|
pacman -Syu --ask 4 --needed \
|
||||||
|
tigervnc \
|
||||||
|
cuda openssh vim pacman-contrib rsync git \
|
||||||
|
plasma konsole kate dolphin kompare kcalc \
|
||||||
|
jack2 ttf-dejavu \
|
||||||
|
firefox firefox-decentraleyes firefox-ublock-origin \
|
||||||
|
torbrowser-launcher \
|
||||||
|
shotwell ffmpegthumbs ark okular \
|
||||||
|
&& pacman -Scc --ask 4 \
|
||||||
|
&& echo 'Cmnd_Alias MISCELLANEOUS = /usr/bin/pacman -S' >/etc/sudoers.d/01-MISCELLANEOUS
|
||||||
|
|
||||||
|
# configure nvidia container runtime
|
||||||
|
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec
|
||||||
|
ENV NVIDIA_VISIBLE_DEVICES all
|
||||||
|
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
|
||||||
|
|
||||||
|
# Tigervnc initialization scripts
|
||||||
|
COPY *.sh /app/init.d/
|
||||||
|
|
||||||
|
# Reset user home directory
|
||||||
|
USER user
|
||||||
|
WORKDIR /home/user
|
||||||
Loading…
Add table
Add a link
Reference in a new issue