Skip to content
Permalink
Newer
Older
100644 20 lines (16 sloc) 785 Bytes
1
FROM bigfleet/shibboleth_idp
2
3
ARG maintainer=tier
4
ARG imagename=shibboleth_idp
5
ARG version=3.2.1
6
ENV VERSION=$version
Jim Van Fleet
Aug 4, 2016
7
ENV JAVA_OPTS=-Xmx1500m -XX:MaxPermSize=128m
8
9
RUN chown -R root:root /opt/shibboleth/shibboleth-identity-provider-$version && \
10
rm -rf /usr/local/tomcat/webapps/* && \
11
ANT_OPTS="-Didp.target.dir=/opt/shibboleth/current" /opt/shibboleth/current/bin/build.sh && \
12
ln -s /opt/shibboleth/current /opt/shibboleth-idp && \
13
ln -s /opt/shibboleth-idp/war/idp.war $CATALINA_HOME/webapps/ROOT.war && \
14
touch /usr/local/tomcat/logs/voltest && \
15
touch /opt/shibboleth/shibboleth-identity-provider-$version/logs/voltest
16
17
VOLUME ["/usr/local/tomcat/logs", "/opt/shibboleth/shibboleth-identity-provider-$VERSION/logs"]
18
19
EXPOSE 8080
20
CMD ["catalina.sh", "run"]
You can’t perform that action at this time.