Skip to content

Commit

Permalink
instrumentation: initial add of cron stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Feb 2, 2017
1 parent 335d188 commit ccd60a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ccd60a3

Please sign in to comment.