From 4f85857c506729174013742149d69eca736fe2de Mon Sep 17 00:00:00 2001 From: Henrik Lund Kramshoej Date: Mon, 10 Jul 2017 12:27:27 +0200 Subject: Messing up the thing --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index c8ec340..6c0571c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,17 +4,21 @@ MAINTAINER Jesper B. Rosenkilde ENV IDP_VERSION 3.3.0 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 shibboleth.db.ddl /tmp/ WORKDIR /opt RUN apk --no-cache add bash apache-ant sqlite curl && \ - curl -O https://shibboleth.net/downloads/identity-provider/${IDP_VERSION}/shibboleth-identity-provider-${IDP_VERSION}.tar.gz && \ + #curl -O 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 && \ ./shibboleth-identity-provider/bin/install.sh -propertyfile install.properties && \ apk --no-cache del apache-ant && \ - rm -rf shibboleth-identity-provider* install.properties + cp /opt/template-config/*.xml /opt/shibboleth-idp/conf && \ + rm -rf shibboleth-identity-provider* install.properties nordu-ldap.properties RUN chown -R jetty:jetty /opt/shibboleth-idp @@ -23,4 +27,3 @@ RUN chown -R jetty:jetty /opt/shibboleth-idp COPY jetty_base /var/lib/jetty WORKDIR $JETTY_BASE - -- cgit v1.1