summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2017-07-23 13:43:36 +0200
committerstartxfr <clarue@startx.fr>2017-07-23 13:43:36 +0200
commitbaf7c43307fb29f5c19b237f418f4f1a59749c3c (patch)
treef62e6e621a29ef9c71c646efda880f06d44109fd /OS/Dockerfile
parentf499157f393a851909e733c9f259a71b619c0d84 (diff)
downloadphpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.gz
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.bz2
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.xz
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.zip
adding openshift OS + Bomb for mem and cpu crash test on openshift
Diffstat (limited to 'OS/Dockerfile')
-rw-r--r--OS/Dockerfile17
1 files changed, 4 insertions, 13 deletions
diff --git a/OS/Dockerfile b/OS/Dockerfile
index 9e2d163..2b47905 100644
--- a/OS/Dockerfile
+++ b/OS/Dockerfile
@@ -1,16 +1,7 @@
-FROM fedora:rawhide
+FROM centos/s2i-core-centos7:latest
MAINTAINER Christophe LARUE <dev@startx.fr>
-USER root
-# Install minimal packages
-RUN dnf -y install pwgen tar psmisc procps findutils iputils net-tools wget logrotate zip && \
- dnf clean all
-ENV STARTUPLOG=/logs/startup.log \
- LOG_PATH=/logs
-COPY *.sh /bin/
-RUN chmod 775 /bin/sx-lib.sh /bin/run.sh && \
- mkdir /data /logs && \
- touch $STARTUPLOG
+COPY sx.sh /bin/sx
+RUN chmod 775 /bin/sx
-VOLUME $LOG_PATH
-CMD [ "/bin/run.sh" ]
+CMD [ "/bin/sx" ]