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?
docker-shib-test/containers/shib-test-idp/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22 lines (18 sloc)
1016 Bytes
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 tier/shib-idp:3.4.6_20200107 | |
LABEL version="0.0.1" | |
# Copy in the needed config files | |
COPY container_files/config/tomcat /usr/local/tomcat/conf | |
COPY container_files/credentials/tomcat /opt/certs | |
COPY container_files/wwwroot /usr/local/tomcat/webapps/ROOT | |
COPY container_files/config/shib-idp/conf /opt/shibboleth-idp/conf | |
COPY container_files/credentials/shib-idp /opt/shibboleth-idp/credentials | |
COPY container_files/config/shib-idp/views /opt/shibboleth-idp/views | |
COPY container_files/config/shib-idp/edit-webapp /opt/shibboleth-idp/edit-webapp | |
COPY container_files/config/shib-idp/messages /opt/shibboleth-idp/messages | |
COPY container_files/config/shib-idp/metadata /opt/shibboleth-idp/metadata | |
# Create an entrypoint to insert some startup tasks | |
COPY --chown=root:root container_files/entrypoint.sh /usr/local/bin/entrypoint.sh | |
RUN chmod 755 /usr/local/bin/entrypoint.sh | |
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] | |
# Run the base image's startup script after the entrypoint | |
CMD [ "/usr/bin/startup.sh" ] |