From 0f3bcf30ae748a75c22a03d4655dba4d8dc71185 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 6 Feb 2016 02:53:52 +0100 Subject: modif de conf OS --- OS/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OS/Dockerfile') 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"] -- cgit v1.2.3