summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index c8ec340..6c0571c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,17 +4,21 @@ MAINTAINER Jesper B. Rosenkilde <jbr@nordu.net>
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
-