Skip to content
Permalink
Browse files

Starting the container should externalize logs

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Aug 18, 2016
1 parent f03de7c commit d64cd30533556555470f0f1cb2781c80268a2a83
Showing with 9 additions and 1 deletion.
  1. +0 −1 .gitignore
  2. +9 −0 bin/start.sh
@@ -5,7 +5,6 @@ bin/rebuild.sh
bin/rerun.sh bin/rerun.sh
bin/run.sh bin/run.sh
bin/test.sh bin/test.sh
bin/start.sh
bin/stop.sh bin/stop.sh
root/** root/**
shibboleth-identity-provider.tar.gz shibboleth-identity-provider.tar.gz
@@ -0,0 +1,9 @@
#!/bin/bash

echo $PWD
source common.bash .

echo "Building new Docker image($registry/$maintainer/$imagename)"
docker run --name=$imagename -v $PWD/logs/tomcat:/usr/local/tomcat/logs:rw -v $PWD/logs/shibboleth_idp:/opt/shibboleth/shibboleth-identity-provider-$version/logs:rw -d $maintainer/$imagename

exit 0

0 comments on commit d64cd30

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