@@ -10,7 +10,7 @@ ARG GEOSERVER_CORS_ALLOWED_HEADERS=*
1010#
1111# Set GeoServer version and data directory
1212#
13- ENV GEOSERVER_VERSION=2.23.3
13+ ENV GEOSERVER_VERSION=2.24.2
1414ENV GEOSERVER_DATA_DIR="/geoserver_data/data"
1515ENV GEOSERVER_CORS_ENABLED=$GEOSERVER_CORS_ENABLED
1616ENV GEOSERVER_CORS_ALLOWED_ORIGINS=$GEOSERVER_CORS_ALLOWED_ORIGINS
@@ -28,15 +28,13 @@ RUN cd /usr/local/tomcat/webapps \
2828
2929VOLUME $GEOSERVER_DATA_DIR
3030
31- # added by simonelanucara https://github.com/simonelanucara
32- # Optionally add JAI, ImageIO and Marlin Render for improved Geoserver performance
33- WORKDIR /tmp
34-
35- RUN wget --no-check-certificate https://repo1.maven.org/maven2/org/postgis/postgis-jdbc/1.3.3/postgis-jdbc-1.3.3.jar -O postgis-jdbc-1.3.3.jar && \
36- wget --no-check-certificate https://maven.geo-solutions.it/org/hibernatespatial/hibernate-spatial-postgis/1.1.3.2/hibernate-spatial-postgis-1.1.3.2.jar -O hibernate-spatial-postgis-1.1.3.2.jar && \
37- rm /usr/local/tomcat/webapps/geoserver/WEB-INF/lib/hibernate-spatial-h2-geodb-1.1.3.2.jar && \
38- mv hibernate-spatial-postgis-1.1.3.2.jar /usr/local/tomcat/webapps/geoserver/WEB-INF/lib/ && \
39- mv postgis-jdbc-1.3.3.jar /usr/local/tomcat/webapps/geoserver/WEB-INF/lib/
31+ # no longer used since 2.24.2
32+ # ENV GEOSERVER_LIB_DIR="/usr/local/tomcat/webapps/geoserver/WEB-INF/lib"
33+ # RUN wget --no-check-certificate https://repo1.maven.org/maven2/org/postgis/postgis-jdbc/1.3.3/postgis-jdbc-1.3.3.jar -O postgis-jdbc-1.3.3.jar && \
34+ # wget --no-check-certificate https://maven.geo-solutions.it/org/hibernatespatial/hibernate-spatial-postgis/1.1.3.2/hibernate-spatial-postgis-1.1.3.2.jar -O hibernate-spatial-postgis-1.1.3.2.jar && \
35+ # rm $GEOSERVER_LIB_DIR/hibernate-spatial-h2-geodb-1.1.3.2.jar && \
36+ # mv hibernate-spatial-postgis-1.1.3.2.jar $GEOSERVER_LIB_DIR && \
37+ # mv postgis-jdbc-1.3.3.jar $GEOSERVER_LIB_DIR
4038
4139
4240# copy the script and perform the run of scripts from entrypoint.sh
0 commit comments