-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from docker/starting-shib
Shibboleth IDP service runs!
- Loading branch information
Showing
6 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,16 @@ | ||
| FROM bigfleet/shibboleth_idp | ||
| FROM bigfleet/shibboleth_idp:master | ||
|
|
||
| ARG maintainer=tier | ||
| ARG imagename=shibboleth_idp | ||
| ARG version=3.2.1 | ||
| ENV VERSION=$version | ||
| ENV JAVA_OPTS=-Xmx1500m -XX:MaxPermSize=128m | ||
|
|
||
| RUN chown -R root:root /opt/shibboleth/shibboleth-identity-provider-$version | ||
| RUN chown -R root:root /opt/shibboleth/shibboleth-identity-provider-$version && \ | ||
| rm -rf /usr/local/tomcat/webapps/* && \ | ||
| 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-idp/war/idp.war $CATALINA_HOME/webapps/ROOT.war | ||
|
|
||
| EXPOSE 8080 | ||
| CMD ["catalina.sh", "run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/bin/bash | ||
|
|
||
| # This file will run a container in the background | ||
| source common.bash . | ||
|
|
||
| docker run -d --name=$imagename -p 8080:8080 $maintainer/$imagename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
|
|
||
| # This file will run a container in the background | ||
| source common.bash . | ||
|
|
||
| echo "Cleaning up Docker image($maintainer/$imagename)" | ||
| docker stop $imagename >> /dev/null | ||
| docker rm $imagename | ||
| exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters