Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ShibbIdP_ConfigBuilder_Container/Dockerfile.template
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (29 sloc)
1.88 KB
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
FROM i2incommon/shib-idp:latest5 | |
# The build args below can be used at build-time to tell the build process where to find your config files. This is for a completely burned-in config. | |
ARG TOMCFG=config/tomcat | |
ARG TOMCERT=credentials/tomcat | |
ARG TOMWWWROOT=wwwroot | |
ARG SHBCFG=config/shib-idp/conf | |
ARG SHBCREDS=credentials/shib-idp | |
ARG SHBVIEWS=config/shib-idp/views | |
ARG SHBEDWAPP=config/shib-idp/edit-webapp | |
ARG SHBMSGS=config/shib-idp/messages | |
ARG SHBMD=config/shib-idp/metadata | |
# copy in those needed config files | |
ADD ${TOMCFG} /usr/local/tomcat/conf | |
ADD ${TOMCERT} /opt/certs | |
ADD ${TOMWWWROOT} /usr/local/tomcat/webapps/ROOT | |
ADD ${SHBCFG} /opt/shibboleth-idp/conf | |
ADD ${SHBCREDS} /opt/shibboleth-idp/credentials | |
ADD ${SHBVIEWS} /opt/shibboleth-idp/views | |
#ADD ${SHBEDWAPP} /opt/shibboleth-idp/edit-webapp | |
#ADD ${SHBMSGS} /opt/shibboleth-idp/messages | |
ADD ${SHBMD} /opt/shibboleth-idp/metadata | |
# new for 4.1.0+: install the Duo OIDC integration | |
# https://wiki.shibboleth.net/confluence/display/IDPPLUGINS/DuoOIDCAuthnConfiguration | |
# For unattended install of plugins, trust must be manually bootstrapped. You should never automate the retreival of this file (like this) for production. | |
#ADD https://github.internet2.edu/raw/docker/ShibbIdP_ConfigBuilder_Container/master/oidc-common-truststore.asc /opt/shibboleth-idp/credentials/net.shibboleth.idp.plugin.authn.duo.nimbus/truststore.asc | |
#ADD https://github.internet2.edu/raw/docker/ShibbIdP_ConfigBuilder_Container/master/duo-oidc-truststore.asc /opt/shibboleth-idp/credentials/net.shibboleth.oidc.common/truststore.asc | |
#install the plugins | |
#RUN /opt/shibboleth-idp/bin/plugin.sh --noPrompt -i https://shibboleth.net/downloads/identity-provider/plugins/oidc-common/1.0.0/oidc-common-dist-1.0.0.zip | |
#RUN /opt/shibboleth-idp/bin/plugin.sh --noPrompt -i https://shibboleth.net/downloads/identity-provider/plugins/duo-oidc/1.0.0/idp-plugin-duo-nimbus-dist-1.0.0.zip | |