summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
blob: f04434ea199fa77a008f692723b7d1fe0da2c38a (plain)
1
2
3
4
5
6
7
8
9
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 && usermod -aG wheel startx

USER startx
CMD [ "/bin/sx" ]