summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2017-07-23 14:23:43 +0200
committerstartxfr <clarue@startx.fr>2017-07-23 14:23:43 +0200
commit11621aff584557c0141cef87b6e229f382349e9e (patch)
treee3256f0c3e19b5a020efbc8671090799906515e6 /OS/Dockerfile
parentaec34cca4a69039bf300ad60e2b356936bad466a (diff)
downloadphpmyadmin-11621aff584557c0141cef87b6e229f382349e9e.tar.gz
phpmyadmin-11621aff584557c0141cef87b6e229f382349e9e.tar.bz2
phpmyadmin-11621aff584557c0141cef87b6e229f382349e9e.tar.xz
phpmyadmin-11621aff584557c0141cef87b6e229f382349e9e.zip
change user setting in openshift centos image to be compliant with openshift container policy
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" ]