mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 07:46:20 +00:00
Rename kdeplasma
This commit is contained in:
parent
d36efd180b
commit
3f6c49ed5f
3 changed files with 0 additions and 0 deletions
45
plasma/Dockerfile
Normal file
45
plasma/Dockerfile
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# syntax = docker/dockerfile:1
|
||||
FROM quay.io/archlinux/archlinux:base-devel
|
||||
USER root
|
||||
|
||||
# X session environment variable
|
||||
ENV STARTXBIN=startplasma-x11
|
||||
|
||||
# Copy app folder
|
||||
COPY entrypoint /entrypoint
|
||||
|
||||
# Install packages
|
||||
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
|
||||
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 \
|
||||
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 \
|
||||
&& useradd --create-home --gid users --shell /usr/bin/bash user \
|
||||
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman' \
|
||||
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
|
||||
&& passwd -l root >/dev/null 2>&1
|
||||
|
||||
# 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
|
||||
|
||||
# Default environment
|
||||
USER user
|
||||
WORKDIR /home/user
|
||||
ENV HOME=/home/user
|
||||
ENV DISPLAY=:0
|
||||
ENV SHELL=/usr/bin/bash
|
||||
ENV PS1="[\u@\h \W \$?]\$ "
|
||||
|
||||
# Docker entrypoint
|
||||
ENTRYPOINT ["/entrypoint"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue