Update to tomcat 10 base image.

main
Paulo Gustavo Veiga 2022-10-27 22:47:21 -07:00
parent 35d8e19c3c
commit 11dba85641
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Based on ubuntu:latest, installs WiseMapping (http://ww.wisemapping.org) # Based on ubuntu:latest, installs WiseMapping (http://ww.wisemapping.org)
# Based info setup ... # Based info setup ...
FROM tomcat:9.0-jdk8 FROM tomcat:jdk17
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>" LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
# Build variables ... # Build variables ...
@ -31,6 +31,9 @@ RUN sed -i 's|\
</Host>|' \ </Host>|' \
/usr/local/tomcat/conf/server.xml /usr/local/tomcat/conf/server.xml
RUN sed -i 's|<Context>|<Context>\
<Loader jakartaConverter="TOMCAT" />|' \
/usr/local/tomcat/conf/context.xml
# Copy default HSQL DB for testing ... # Copy default HSQL DB for testing ...
RUN mkdir -p ${DB_BASE_DIR}/db RUN mkdir -p ${DB_BASE_DIR}/db
COPY db/ ${DB_BASE_DIR}/db COPY db/ ${DB_BASE_DIR}/db