Skip to content

Commit

Permalink
Modify Dockerfile to use Java 17 and Tomcat 10 and set docker.teameng…
Browse files Browse the repository at this point in the history
…ine.version to 6.0-SNAPSHOT
  • Loading branch information
dstenger committed May 4, 2023
1 parent 68601b5 commit d205a1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<properties>
<ets-code>ogcapi-features-1.0</ets-code>
<spec-version>1.0</spec-version>
<docker.teamengine.version>5.4.1</docker.teamengine.version>
<docker.teamengine.version>6.0-SNAPSHOT</docker.teamengine.version>
<soapui.test.fail.ignore>false</soapui.test.fail.ignore>
<soapui.teamengine.endpoint>http://localhost:8081/teamengine</soapui.teamengine.endpoint>
<soapui.teamengine.user>ogctest</soapui.teamengine.user>
Expand Down
6 changes: 4 additions & 2 deletions src/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM tomcat:7.0-jre8
FROM tomcat:10-jre17

MAINTAINER Dirk Stenger <stenger@lat-lon.de>
MAINTAINER Torsten Friebe <friebe@lat-lon.de>

RUN apt update && apt install -y unzip

# add TEAM engine webapp
ADD maven/dependency/teamengine-web-*.war /root/
RUN cd /root/ && unzip -q teamengine-web-*.war -d /usr/local/tomcat/webapps/teamengine
Expand All @@ -25,4 +27,4 @@ ADD maven/ets-ogcapi-features10-*-deps.zip /root/
RUN cd /root/ && unzip -q -o ets-ogcapi-features10-*-deps.zip -d /usr/local/tomcat/webapps/teamengine/WEB-INF/lib

# run tomcat
CMD ["catalina.sh", "jpda", "run"]
CMD ["catalina.sh", "jpda", "run"]

0 comments on commit d205a1c

Please sign in to comment.