mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 07:46:20 +00:00
Add kdeplasma
This commit is contained in:
parent
4e3c053d54
commit
43b35b07be
4 changed files with 84 additions and 0 deletions
25
plasma/Dockerfile
Normal file
25
plasma/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# syntax = docker/dockerfile:1.2
|
||||
FROM alpine/base
|
||||
USER root
|
||||
|
||||
# X session environment variable
|
||||
ENV STARTXBIN startplasma-x11
|
||||
|
||||
# Run
|
||||
RUN apk add --no-cache \
|
||||
tigervnc \
|
||||
plasma-desktop-meta \
|
||||
font-dejavu \
|
||||
firefox \
|
||||
&& printf '%s\n' 'permit nopass user as root cmd /sbin/apk add' >/etc/doas.conf
|
||||
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue