summaryrefslogtreecommitdiffstats
path: root/OS/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-02-06 02:53:52 +0100
committerstartxfr <clarue@startx.fr>2016-02-06 02:53:52 +0100
commit0f3bcf30ae748a75c22a03d4655dba4d8dc71185 (patch)
treeae032e55c35e41576e13d46ebb82d58c0966ef15 /OS/Dockerfile
parent05a6fe72c04bd785fa289b7b5fd9bc8f871ea3a1 (diff)
downloadphpmyadmin-0f3bcf30ae748a75c22a03d4655dba4d8dc71185.tar.gz
phpmyadmin-0f3bcf30ae748a75c22a03d4655dba4d8dc71185.tar.bz2
phpmyadmin-0f3bcf30ae748a75c22a03d4655dba4d8dc71185.tar.xz
phpmyadmin-0f3bcf30ae748a75c22a03d4655dba4d8dc71185.zip
modif de conf OS
Diffstat (limited to 'OS/Dockerfile')
-rw-r--r--OS/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/OS/Dockerfile b/OS/Dockerfile
index da351a2..82c9a7a 100644
--- a/OS/Dockerfile
+++ b/OS/Dockerfile
@@ -7,10 +7,12 @@ RUN dnf -y install deltarpm pwgen tar python-dnf-plugins-extras-migrate && \
dnf-2 migrate && \
dnf -y install psmisc procps coreutils 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 && \
- mkdir /data/logs
-ENV TERM=xterm
+ mkdir /data /logs && \
+ touch $STARTUPLOG
+VOLUME [$LOG_PATH]
CMD ["/bin/run.sh"]