From 11621aff584557c0141cef87b6e229f382349e9e Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 23 Jul 2017 14:23:43 +0200 Subject: change user setting in openshift centos image to be compliant with openshift container policy --- OS/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OS/Dockerfile') 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 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" ] -- cgit v1.2.3