From e9adedc1baa88e4d0b253178e23c4f6071083674 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Tue, 13 Sep 2016 11:05:41 -0400 Subject: [PATCH] Updating bin file content --- Dockerfile | 3 ++- container_files/bin/firstrun.sh | 2 +- container_files/bin/onbuild.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b840c3d..85dc7e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ RUN yum -y install --setopt=tsflags=nodocs epel-release && \ /opt/autoexec/firstrun \ /opt/bin \ /opt/etc \ - /opt/tier \ + /opt/log \ + /opt/tier # Install Trusted Certificates RUN update-ca-trust force-enable diff --git a/container_files/bin/firstrun.sh b/container_files/bin/firstrun.sh index 491f2b9..97f9d92 100755 --- a/container_files/bin/firstrun.sh +++ b/container_files/bin/firstrun.sh @@ -2,5 +2,5 @@ for file in /opt/autoexec/firstrun/* do - cmd "$file" >> /opt/etc/autoexec.firstrun.log + exec "$file" >> /opt/log/autoexec.firstrun.log done \ No newline at end of file diff --git a/container_files/bin/onbuild.sh b/container_files/bin/onbuild.sh index 378e312..07d014a 100755 --- a/container_files/bin/onbuild.sh +++ b/container_files/bin/onbuild.sh @@ -2,5 +2,5 @@ for file in /opt/autoexec/onbuild/* do - cmd "$file" >> /opt/etc/autoexec.build.log + exec "$file" >> /opt/log/autoexec.build.log done \ No newline at end of file