mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
20 lines
474 B
Docker
20 lines
474 B
Docker
|
FROM m1k1o/neko:base
|
||
|
|
||
|
#
|
||
|
# 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
|
||
|
|