Add xfce webtop

This commit is contained in:
myve 2024-07-21 21:30:46 +00:00
commit e111915109
4 changed files with 75 additions and 0 deletions

23
xfce/Dockerfile Normal file
View file

@ -0,0 +1,23 @@
# syntax = docker/dockerfile:1
FROM alpine/base
USER root
# Build ARG: use "root" for debugging
ARG debug
# X session environment variable
ENV STARTXBIN=startxfce4
# Run
RUN apk add --no-cache \
tigervnc \
xfce4 xfce4-terminal adwaita-icon-theme \
font-dejavu \
firefox \
&& printf '%s\n' 'permit nopass user as root cmd /sbin/apk args add' >>/etc/doas.conf
# Tigervnc initialization scripts
COPY *.sh /app/init.d/
# Default environment
USER ${debug:-user}