summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
blob: 1237603d42cbd39b350b35f666bfcd9bbe1b910e (plain)
1
2
3
4
5
6
7
8
9
10
FROM centos/s2i-core-centos7:latest
MAINTAINER Christophe LARUE <dev@startx.fr>

COPY sx.sh /bin/sx
RUN chmod 775 /bin/sx

RUN useradd startx && echo "startx" | passwd --stdin startx
USER startx

CMD [ "/bin/sx" ]