alpine/plasma/Dockerfile

23 lines
466 B
Text
Raw Normal View History

2024-07-20 02:52:35 +00:00
# syntax = docker/dockerfile:1
2024-07-19 07:05:19 +00:00
FROM alpine/base
USER root
2024-07-21 18:47:09 +00:00
# Build ARG: use "root" for debugging
ARG debug
2024-07-19 07:05:19 +00:00
# X session environment variable
2024-07-20 02:52:35 +00:00
ENV STARTXBIN=startplasma-x11
2024-07-19 07:05:19 +00:00
# Run
RUN apk add --no-cache \
tigervnc \
plasma-desktop-meta \
font-dejavu \
firefox \
2024-07-19 07:14:57 +00:00
&& printf '%s\n' 'permit nopass user as root cmd /sbin/apk args add' >>/etc/doas.conf
2024-07-19 07:05:19 +00:00
# Tigervnc initialization scripts
COPY *.sh /app/init.d/
2024-07-21 18:47:09 +00:00
# Default environment
USER ${debug:-user}