Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/.docker/xfce/Dockerfile
2021-11-27 14:23:33 +01:00

21 lines
501 B
Docker

ARG BASE_IMAGE=m1k1o/neko:base
FROM $BASE_IMAGE
#
# install xfce
RUN set -eux; apt-get update; \
apt-get install -y --no-install-recommends xfce4 xfce4-terminal sudo; \
#
# add user to sudoers
usermod -aG sudo neko; \
echo "neko:neko" | chpasswd; \
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
# clean up
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
#
# copy configuation files
COPY supervisord.conf /etc/neko/supervisord/xfce.conf