dracoox commited on
Commit
0041291
·
verified ·
1 Parent(s): e4d9a56

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ARG BASE_IMAGE=m1k1o/neko:base
2
+ FROM $BASE_IMAGE
3
+
4
+ #
5
+ # install xfce
6
+ RUN set -eux; apt-get update; \
7
+ apt-get install -y --no-install-recommends xfce4 xfce4-terminal sudo; \
8
+ #
9
+ # add user to sudoers
10
+ usermod -aG neko; \
11
+ echo "neko:neko" | chpasswd; \
12
+ echo "%ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
13
+ # clean up
14
+ apt-get clean -y; \
15
+ rm -rf /var/lib/apt/lists/* /var/cache/apt/*
16
+
17
+ #
18
+ # copy configuation files
19
+ COPY supervisord.conf /etc/neko/supervisord/xfce.conf