summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'OS/Dockerfile')
-rw-r--r--OS/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/OS/Dockerfile b/OS/Dockerfile
index 2b47905..f04434e 100644
--- a/OS/Dockerfile
+++ b/OS/Dockerfile
@@ -3,5 +3,7 @@ MAINTAINER Christophe LARUE <dev@startx.fr>
COPY sx.sh /bin/sx
RUN chmod 775 /bin/sx
+RUN useradd startx && echo "startx" | passwd --stdin startx && usermod -aG wheel startx
+USER startx
CMD [ "/bin/sx" ]