From d451173cf09d58b9b972e5e12992c4b0696b7141 Mon Sep 17 00:00:00 2001 From: Craig Date: Tue, 21 Apr 2020 20:00:39 +0000 Subject: [PATCH] added docker xfce4 --- .docker/files/xfce4/Dockerfile | 11 +++++++++++ .docker/files/xfce4/supervisord.conf | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .docker/files/xfce4/Dockerfile create mode 100644 .docker/files/xfce4/supervisord.conf diff --git a/.docker/files/xfce4/Dockerfile b/.docker/files/xfce4/Dockerfile new file mode 100644 index 00000000..12105f3f --- /dev/null +++ b/.docker/files/xfce4/Dockerfile @@ -0,0 +1,11 @@ +FROM nurdism/neko:base + +# +# install xfce4 +RUN set -eux; apt-get update; \ + apt-get install -y --no-install-recommends xfce4; + +# +# copy xfce4 conf and supervisord conf +COPY .docker/files/xfce4/supervisord.conf /etc/neko/openbox.xml +# COPY .docker/files/xfce4/xfconf /etc/neko/xfconf diff --git a/.docker/files/xfce4/supervisord.conf b/.docker/files/xfce4/supervisord.conf new file mode 100644 index 00000000..7eecca65 --- /dev/null +++ b/.docker/files/xfce4/supervisord.conf @@ -0,0 +1,10 @@ +[program:xfce4] +environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" +command=/usr/bin/xfce4-session +autorestart=true +priority=300 +user=%(ENV_USER)s +stdout_logfile=/var/log/neko/xfce4.log +stdout_logfile_maxbytes=100MB +stdout_logfile_backups=10 +redirect_stderr=true