Update to tomcat 10 base image.
parent
35d8e19c3c
commit
11dba85641
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue