From 5a9cf5691390fa41aff171085b5c5d321dbed115 Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Wed, 4 Oct 2017 09:43:22 +0200 Subject: Use 3.3.1 --- idp/Dockerfile | 4 ++-- idp/shib-entrypoint.sh | 2 +- idp/shibboleth-identity-provider-3.3.1.tar.gz.sha256 | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 idp/shibboleth-identity-provider-3.3.1.tar.gz.sha256 diff --git a/idp/Dockerfile b/idp/Dockerfile index d812493..037d50b 100644 --- a/idp/Dockerfile +++ b/idp/Dockerfile @@ -2,14 +2,14 @@ FROM jetty:9-alpine MAINTAINER Jesper B. Rosenkilde USER root -ENV IDP_VERSION 3.3.0 +ENV IDP_VERSION 3.3.1 COPY install.properties /opt/ COPY nordu-ldap.properties /opt/ COPY shibboleth-identity-provider-${IDP_VERSION}.tar.gz.sha256 /opt/ -COPY shibboleth-identity-provider-${IDP_VERSION}.tar.gz /opt/ COPY templates /opt/templates WORKDIR /opt RUN echo $(id) && apk --no-cache add bash apache-ant curl && \ + curl -o shibboleth-identity-provider-$IDP_VERSION.tar.gz https://shibboleth.net/downloads/identity-provider/$IDP_VERSION/shibboleth-identity-provider-$IDP_VERSION.tar.gz && \ sha256sum -c shibboleth-identity-provider-$IDP_VERSION.tar.gz.sha256 && \ tar xf shibboleth-identity-provider-$IDP_VERSION.tar.gz && \ mv shibboleth-identity-provider-$IDP_VERSION shibboleth-identity-provider && \ diff --git a/idp/shib-entrypoint.sh b/idp/shib-entrypoint.sh index a1dc327..944ea09 100755 --- a/idp/shib-entrypoint.sh +++ b/idp/shib-entrypoint.sh @@ -72,7 +72,7 @@ if [ -f ${DATADIR}/credentials/idp-encryption.key -a -f ${DATADIR}/credentials/i fi # overwrite idp-metadata if present -if [ -f ${DATADIR}/idp-metadata.xml.xml ]; then +if [ -f ${DATADIR}/idp-metadata.xml ]; then cp ${DATADIR}/idp-metadata.xml /opt/shibboleth-idp/metadata/ fi diff --git a/idp/shibboleth-identity-provider-3.3.1.tar.gz.sha256 b/idp/shibboleth-identity-provider-3.3.1.tar.gz.sha256 new file mode 100644 index 0000000..91e7087 --- /dev/null +++ b/idp/shibboleth-identity-provider-3.3.1.tar.gz.sha256 @@ -0,0 +1 @@ +8bd852dcdc7e6729ee645c0374a3c476b152fa24506fb86ffec33dfd190e607c shibboleth-identity-provider-3.3.1.tar.gz -- cgit v1.1