-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
20 lines (14 loc) · 903 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file is available under the following license:
# under LGPL 2.1 (LICENSE.TXT) Copyright 2020 Torsten Friebe <[email protected]>
FROM tomcat:8.5-jdk8-temurin
LABEL maintainer="deegree TMC <[email protected]>"
# set deegree version
ENV DEEGREE_VERSION=3.4.35
ENV CATALINA_OPTS="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl"
EXPOSE 8080
# download deegree webservices WAR file
RUN curl https://repo.deegree.org/content/repositories/public/org/deegree/deegree-webservices/${DEEGREE_VERSION}/deegree-webservices-${DEEGREE_VERSION}.war -o /usr/local/tomcat/webapps/deegree-webservices.war
# download deegree tools command line interface
RUN curl https://repo.deegree.org/content/repositories/public/org/deegree/deegree-tools-gml/${DEEGREE_VERSION}/deegree-tools-gml-${DEEGREE_VERSION}.jar -o /opt/deegree-tools-gml.jar
# run tomcat
CMD ["catalina.sh", "run"]