2021-03-23 04:22:52 +13:00
|
|
|
FROM m1k1o/neko:base
|
|
|
|
|
|
|
|
#
|
2021-03-23 06:55:45 +13:00
|
|
|
# install xfce
|
2021-03-23 04:22:52 +13:00
|
|
|
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; \
|
2021-03-23 05:15:01 +13:00
|
|
|
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
|
2021-03-23 04:22:52 +13:00
|
|
|
# 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
|
|
|
|
|