Skip to content

Commit

Permalink
Starting the container should externalize logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Aug 18, 2016
1 parent f03de7c commit d64cd30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ bin/rebuild.sh
bin/rerun.sh
bin/run.sh
bin/test.sh
bin/start.sh
bin/stop.sh
root/**
shibboleth-identity-provider.tar.gz
Expand Down
9 changes: 9 additions & 0 deletions bin/start.sh
Original file line number Diff line number Diff line change
@@ -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.