summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Brix Rosenkilde <jbr@nordu.net>2017-07-06 14:48:45 +0200
committerJesper Brix Rosenkilde <jbr@nordu.net>2017-07-06 14:48:45 +0200
commite97efb4ea6a4e5cba2f68068e200ce525dcddb96 (patch)
tree65e3a2ae9d7a4d694f70c0c600e62b3593328c65
parent1649e618431538f93dabdeb9517aeab04c5b9330 (diff)
Add jetty configuration
-rw-r--r--Dockerfile4
-rw-r--r--jetty_base/start.d/.DS_Storebin0 -> 6148 bytes
-rw-r--r--jetty_base/webapps/idp.xml7
3 files changed, 10 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 8e272a2..56b8803 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,9 +17,11 @@ RUN apk --no-cache add bash apache-ant sqlite curl && \
apk --no-cache del apache-ant && \
rm -rf shibboleth-identity-provider* install.properties
+
+COPY jetty_base /var/lib/jetty
#RUN mkdir -p persistent-id && sqlite3 persistent-id/shibboleth.db < /tmp/shibboleth.db.ddl && rm -f /tmp/shibboleth.db.ddl
#ENV JETTY_BASE /oetty-base
#COPY jetty_base/ $JETTY_BASE/
-#WORKDIR $JETTY_BASE
+WORKDIR $JETTY_BASE
diff --git a/jetty_base/start.d/.DS_Store b/jetty_base/start.d/.DS_Store
new file mode 100644
index 0000000..5008ddf
--- /dev/null
+++ b/jetty_base/start.d/.DS_Store
Binary files differ
diff --git a/jetty_base/webapps/idp.xml b/jetty_base/webapps/idp.xml
new file mode 100644
index 0000000..dbe3671
--- /dev/null
+++ b/jetty_base/webapps/idp.xml
@@ -0,0 +1,7 @@
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="war">/opt/shibboleth-idp/war/idp.war</Set>
+ <Set name="contextPath">/idp</Set>
+ <Set name="extractWAR">false</Set>
+ <Set name="copyWebDir">false</Set>
+ <Set name="copyWebInf">true</Set>
+</Configure>