Skip to content
Permalink
Browse files

Logging via volume appears to work

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Aug 18, 2016
1 parent f44edf5 commit 7893424043c5cce772716d48cc24a09962460709
Showing with 7 additions and 20 deletions.
  1. +2 −19 .gitignore
  2. +5 −1 Dockerfile
  3. 0 logs/shibboleth_idp/.gitkeep
  4. 0 logs/tomcat/.gitkeep
@@ -9,22 +9,5 @@ bin/start.sh
bin/stop.sh bin/stop.sh
root/** root/**
shibboleth-identity-provider.tar.gz shibboleth-identity-provider.tar.gz
test.log logs/tomcat/**
bin/build.sh logs/shibboleth_idp/**
bin/destroy.sh
bin/install.sh
bin/rebuild.sh
bin/rerun.sh
bin/run.sh
bin/start.sh
bin/stop.sh
bin/test.sh
bin/build.sh
bin/destroy.sh
bin/install.sh
bin/rebuild.sh
bin/rerun.sh
bin/run.sh
bin/start.sh
bin/stop.sh
bin/test.sh
@@ -10,7 +10,11 @@ RUN chown -R root:root /opt/shibboleth/shibboleth-identity-provider-$version &&
rm -rf /usr/local/tomcat/webapps/* && \ rm -rf /usr/local/tomcat/webapps/* && \
ANT_OPTS="-Didp.target.dir=/opt/shibboleth/current" /opt/shibboleth/current/bin/build.sh && \ ANT_OPTS="-Didp.target.dir=/opt/shibboleth/current" /opt/shibboleth/current/bin/build.sh && \
ln -s /opt/shibboleth/current /opt/shibboleth-idp && \ ln -s /opt/shibboleth/current /opt/shibboleth-idp && \
ln -s /opt/shibboleth-idp/war/idp.war $CATALINA_HOME/webapps/ROOT.war ln -s /opt/shibboleth-idp/war/idp.war $CATALINA_HOME/webapps/ROOT.war && \
touch /usr/local/tomcat/logs/voltest && \
touch /opt/shibboleth/shibboleth-identity-provider-$version/logs/voltest

VOLUME ["/usr/local/tomcat/logs", "/opt/shibboleth/shibboleth-identity-provider-$VERSION/logs"]


EXPOSE 8080 EXPOSE 8080
CMD ["catalina.sh", "run"] CMD ["catalina.sh", "run"]
No changes.
No changes.

0 comments on commit 7893424

Please sign in to comment.
You can’t perform that action at this time.