summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMarkus Krogh <markus@nordu.net>2017-09-27 15:06:13 +0200
committerMarkus Krogh <markus@nordu.net>2017-09-27 15:06:13 +0200
commit633ada5afb580dea9c755554c9a9a66b64434e4c (patch)
tree0fab0e66eada4201009edbd6bc3bafd083b6ed97 /Dockerfile
parent489b5dcdaa79180ba6c9004332a4520717c27361 (diff)
Structure cleanup + docker compose
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile31
1 files changed, 0 insertions, 31 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 824481c..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,31 +0,0 @@
-FROM jetty:9-alpine
-EXPOSE 80 443
-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/
-COPY apache-sp/nordunet.png /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 && \
- 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 && \
- cp /tmp/nordunet.png ./shibboleth-identity-provider/webapp/images/dummylogo.png && \
- ./shibboleth-identity-provider/bin/install.sh -propertyfile install.properties && \
- apk --no-cache del apache-ant && \
- 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
-
-
-#RUN mkdir -p persistent-id && sqlite3 persistent-id/shibboleth.db < /tmp/shibboleth.db.ddl && rm -f /tmp/shibboleth.db.ddl
-
-COPY jetty_base $JETTY_BASE
-WORKDIR $JETTY_BASE