summaryrefslogtreecommitdiff
path: root/idp/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'idp/Dockerfile')
-rw-r--r--idp/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/idp/Dockerfile b/idp/Dockerfile
index ce4c0a9..b110812 100644
--- a/idp/Dockerfile
+++ b/idp/Dockerfile
@@ -7,7 +7,7 @@ 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 template-config/ /opt/template-config
+COPY templates /opt/templates
WORKDIR /opt
RUN echo $(id) && apk --no-cache add bash apache-ant curl && \
#curl -O https://shibboleth.net/downloads/identity-provider/${IDP_VERSION}/shibboleth-identity-provider-${IDP_VERSION}.tar.gz && \
@@ -15,9 +15,12 @@ RUN echo $(id) && apk --no-cache add bash apache-ant curl && \
tar xf shibboleth-identity-provider-$IDP_VERSION.tar.gz && \
mv shibboleth-identity-provider-$IDP_VERSION shibboleth-identity-provider && \
./shibboleth-identity-provider/bin/install.sh -propertyfile install.properties && \
+ cp -a /opt/templates/edit-webapp/* /opt/shibboleth-idp/edit-webapp/ && \
+ ./shibboleth-idp/bin/build.sh && \
apk --no-cache del apache-ant && \
cp -a /opt/shibboleth-idp/conf /opt/org-conf && \
- cp /opt/template-config/*.xml /opt/shibboleth-idp/conf && \
+ cp /opt/templates/config/*.xml /opt/shibboleth-idp/conf && \
+ cp -a /opt/templates/views/* /opt/shibboleth-idp/views/ && \
sed -i '/p:postAuthenticationFlows=/ s/p:postAuthenticationFlows="attribute-release" //' /opt/shibboleth-idp/conf/relying-party.xml && \
rm -rf shibboleth-identity-provider* install.properties nordu-ldap.properties
ADD https://mds.swamid.se/md/md-signer2.crt /opt/shibboleth-idp/credentials/