From ccd60a35da3204b4a7475331025574a4ad439729 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Thu, 2 Feb 2017 12:14:49 -0600 Subject: [PATCH] instrumentation: initial add of cron stuff --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8568244..eab7e44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,6 +92,15 @@ RUN set -x \ ADD files/idp.xml conf/Catalina/idp.xml ADD files/server.xml conf/server.xml +ADD files/tier-crontab /opt/tier/tier-crontab +RUN crontab /opt/tier/tier-crontab +ADD files/bin/startcron.sh /usr/bin/startcron.sh +RUN chmod +x /usr/bin/startcron.sh +ADD files/bin/sendtierbeacon.sh /usr/bin/sendtierbeacon.sh +RUN touch /var/log/cron.log + ENV PATH $CATALINA_HOME/bin:$JAVA_HOME/bin:$PATH ONBUILD COPY ./root/ /opt/shibboleth/$SHIB_PREFIX/ + +CMD /usr/bin/startcron.sh