Skip to content

Commit ccc80f2

Browse files
authored
Upgraded the GeoServer instance from version 2.28.1 to 2.28.2 (#787)
1 parent c89f833 commit ccc80f2

File tree

8 files changed

+31
-30
lines changed

8 files changed

+31
-30
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ COMPOSE_PROJECT_NAME=kartozageoserver
22
# ###############
33
# Build Arguments
44
# ###############
5-
IMAGE_VERSION=9.0.109-jdk17-temurin-noble
6-
GS_VERSION=2.28.1
5+
IMAGE_VERSION=9.0.115-jdk17-temurin-noble
6+
GS_VERSION=2.28.2
77
JAVA_HOME=/opt/java/openjdk
8-
WAR_URL=http://downloads.sourceforge.net/project/geoserver/GeoServer/2.28.1/geoserver-2.28.1-war.zip
8+
WAR_URL=http://downloads.sourceforge.net/project/geoserver/GeoServer/2.28.2/geoserver-2.28.2-war.zip
99
STABLE_PLUGIN_BASE_URL=https://sourceforge.net/projects/geoserver/files/GeoServer
1010
GEOSERVER_UID=2000
1111
GEOSERVER_GID=2001

.github/workflows/build-latest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ jobs:
6969
geoserverMajorVersion:
7070
- 2
7171
imageVersion:
72-
- image: 9.0.109-jdk17-temurin-noble
72+
- image: 9.0.115-jdk17-temurin-noble
7373
javaHome: /opt/java/openjdk
7474
geoserverMinorVersion:
7575
- minor: 28
76-
patch: 1
76+
patch: 2
7777
stablePluginBaseURL:
7878
- https://sourceforge.net/projects/geoserver/files/GeoServer
7979
steps:

.github/workflows/deploy-image.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
geoserverMajorVersion:
2828
- 2
2929
imageVersion:
30-
- image: 9.0.109-jdk17-temurin-noble
30+
- image: 9.0.115-jdk17-temurin-noble
3131
javaHome: /opt/java/openjdk
3232
geoserverMinorVersion:
3333
- minor: 28
34-
patch: 1
34+
patch: 2
3535
stablePluginBaseURL:
3636
# empty because it often changes, so it's better
3737
# to use the default one described in the Dockerfile
@@ -119,7 +119,7 @@ jobs:
119119
- 2
120120
geoserverMinorVersion:
121121
- minor: 28
122-
patch: 1
122+
patch: 2
123123
steps:
124124
- name: Checkout code
125125
id: git_checkout

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
3-
ARG IMAGE_VERSION=9.0.109-jdk17-temurin-noble
3+
ARG IMAGE_VERSION=9.0.115-jdk17-temurin-noble
44
ARG JAVA_HOME=/opt/java/openjdk
55
#TODO we need a way to predetermine the gdal version in the tomcat image so as to match it
66
ARG GDAL_VERSION=3.8.4
@@ -28,7 +28,7 @@ FROM --platform=$BUILDPLATFORM ghcr.io/osgeo/gdal:ubuntu-full-${GDAL_VERSION} AS
2828
# alpine because it's smaller.
2929

3030
FROM --platform=$BUILDPLATFORM python:alpine3.20 AS geoserver-plugin-downloader
31-
ARG GS_VERSION=2.28.1
31+
ARG GS_VERSION=2.28.2
3232
ARG STABLE_PLUGIN_BASE_URL=https://sourceforge.net/projects/geoserver/files/GeoServer
3333
ARG WAR_URL=https://downloads.sourceforge.net/project/geoserver/GeoServer/${GS_VERSION}/geoserver-${GS_VERSION}-war.zip
3434
ENV OTEL_VERSION=v2.17.1
@@ -57,7 +57,7 @@ RUN /work/plugin_download.sh
5757
FROM tomcat:$IMAGE_VERSION AS geoserver-prod
5858

5959
LABEL maintainer="Tim Sutton<tim@linfiniti.com>"
60-
ARG GS_VERSION=2.28.1
60+
ARG GS_VERSION=2.28.2
6161
ARG STABLE_PLUGIN_BASE_URL=https://sourceforge.net/projects/geoserver/files/GeoServer
6262
ARG HTTPS_PORT=8443
6363
ARG GDAL_LIBS_PATH="/usr/lib/x86_64-linux-gnu"
@@ -75,7 +75,6 @@ RUN set -eux; \
7575
dpkg-divert --local --rename --add /sbin/initctl \
7676
&& apt-get clean \
7777
&& rm -rf /var/lib/apt/lists/*; \
78-
# verify that the binary works
7978
gosu nobody true
8079

8180
# copy gdal java bindings

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The preferred way (but using the most bandwidth for the initial image) is to
6666
get our docker-trusted build like this:
6767

6868
```shell
69-
VERSION=2.28.1
69+
VERSION=2.28.2
7070
docker pull kartoza/geoserver:$VERSION
7171
```
7272

@@ -105,15 +105,15 @@ See the [dockerhub tomcat](https://hub.docker.com/_/tomcat/)
105105
for available tags.
106106

107107
```
108-
VERSION=2.28.1
108+
VERSION=2.28.2
109109
IMAGE_VERSION=9.0.99-jdk11-temurin-noble
110110
docker build --build-arg IMAGE_VERSION=${IMAGE_VERSION} --build-arg GS_VERSION=${VERSION} -t kartoza/geoserver:${VERSION} .
111111
```
112112
113113
For some recent builds, it is necessary to set the JAVA_PATH as well (e.g. Apache Tomcat/9.0.36)
114114
115115
```
116-
docker build --build-arg IMAGE_VERSION=9.0.99-jdk11-temurin-noble --build-arg JAVA_HOME=/usr/local/openjdk-11/bin/java --build-arg GS_VERSION=2.28.1 -t kartoza/geoserver:2.28.1 .
116+
docker build --build-arg IMAGE_VERSION=9.0.99-jdk11-temurin-noble --build-arg JAVA_HOME=/usr/local/openjdk-11/bin/java --build-arg GS_VERSION=2.28.2 -t kartoza/geoserver:2.28.2 .
117117
```
118118
119119
**Note:** Please check the [GeoServer documentation](https://docs.geoserver.org/stable/en/user/production/index.html)
@@ -200,22 +200,22 @@ will be enabled : [list of default plugins](https://github.com/kartoza/docker-ge
200200
#### Activate stable extensions during the contain startup
201201
202202
The environment variable `STABLE_EXTENSIONS` is used to activate extensions listed in
203-
[stable_plugins](https://sourceforge.net/projects/geoserver/files/GeoServer/2.28.1/extensions/)
203+
[stable_plugins](https://sourceforge.net/projects/geoserver/files/GeoServer/2.28.2/extensions/)
204204
205-
**Note:** The plugins listed in the url is of the format `geoserver-2.28.1-wps-plugin.zip`, but the env
205+
**Note:** The plugins listed in the url is of the format `geoserver-2.28.2-wps-plugin.zip`, but the env
206206
variable expects the env to be of the format `wps-plugin`. Always consult the url to see which plugins
207207
are available. The text file [stable_plugins.txt](https://github.com/kartoza/docker-geoserver/blob/master/build_data/stable_plugins.txt)
208208
contains a curated list of plugins but might be out of date in some cases.
209209
210210
Example
211211
212212
```
213-
ie VERSION=2.28.1
213+
ie VERSION=2.28.2
214214
docker run -d -p 8600:8080 --name geoserver -e STABLE_EXTENSIONS=charts-plugin,db2-plugin kartoza/geoserver:${VERSION}
215215
216216
```
217217
218-
You can pass any comma-separated extensions as defined in [stable_plugins](https://sourceforge.net/projects/geoserver/files/GeoServer/2.28.1/extensions/)
218+
You can pass any comma-separated extensions as defined in [stable_plugins](https://sourceforge.net/projects/geoserver/files/GeoServer/2.28.2/extensions/)
219219
220220
#### Activate community extensions during contain startup
221221
@@ -230,7 +230,7 @@ contains a curated list of community plugins but might be out of date in some ca
230230
Example
231231
232232
```
233-
ie VERSION=2.28.1
233+
ie VERSION=2.28.2
234234
docker run -d -p 8600:8080 --name geoserver -e COMMUNITY_EXTENSIONS=gwc-sqlite-plugin,ogr-datastore-plugin kartoza/geoserver:${VERSION}
235235
```
236236
@@ -246,7 +246,7 @@ following the guidelines from [GeoServer develop guidelines](https://docs.geoser
246246
The image ships with sample data. This can be used to familiarize yourself with GeoServer. This is not activated by default. You can activate it using the environment variable `boolean SAMPLE_DATA`.
247247
248248
```
249-
ie VERSION=2.28.1
249+
ie VERSION=2.28.2
250250
docker run -d -p 8600:8080 --name geoserver -e SAMPLE_DATA=true kartoza/geoserver:${VERSION}
251251
```
252252
@@ -317,14 +317,14 @@ If you set the environment variable `SSL=true` but do not provide the pem files
317317
the container will generate self-signed SSL certificates.
318318
319319
```
320-
ie VERSION=2.28.1
320+
ie VERSION=2.28.2
321321
docker run -it --name geoserver -e PKCS12_PASSWORD=geoserver -e JKS_KEY_PASSWORD=geoserver -e JKS_STORE_PASSWORD=geoserver -e SSL=true -p 8443:8443 -p 8600:8080 kartoza/geoserver:${VERSION}
322322
```
323323
324324
If you already have your pem files (`fullchain.pem` and `privkey.pem`) you can mount the directory containing your keys as:
325325
326326
```
327-
ie VERSION=2.28.1
327+
ie VERSION=2.28.2
328328
docker run -it --name geoserver -v /etc/certs:/etc/certs -e PKCS12_PASSWORD=geoserver -e JKS_KEY_PASSWORD=geoserver -e JKS_STORE_PASSWORD=geoserver -e SSL=true -p 8443:8443 -p 8600:8080 kartoza/geoserver:${VERSION}
329329
330330
```
@@ -381,7 +381,7 @@ To include Tomcat extras including docs, examples, and the manager web app, set
381381
to use a strong password otherwise a randomly generated password is used.
382382
383383
```
384-
ie VERSION=2.28.1
384+
ie VERSION=2.28.2
385385
docker run -it --name geoserver -e TOMCAT_EXTRAS=true -p 8600:8080 kartoza/geoserver:${VERSION}
386386
```
387387
@@ -406,7 +406,7 @@ If you have downloaded extra fonts you can mount the folder to the path
406406
path during initialisation. This is useful for styling layers i.e. labeling using specific fonts.
407407
408408
```
409-
ie VERSION=2.28.1
409+
ie VERSION=2.28.2
410410
docker run -v fonts:/opt/fonts -p 8080:8080 -t kartoza/geoserver:${VERSION}
411411
```
412412
@@ -417,7 +417,7 @@ You can use the environment variable `GOOGLE_FONTS_NAMES` to activate fonts defi
417417
i.e.
418418
419419
```bash
420-
ie VERSION=2.28.1
420+
ie VERSION=2.28.2
421421
docker run -e GOOGLE_FONTS_NAMES=actor,akronim -p 8080:8080 -t kartoza/geoserver:${VERSION}
422422
```
423423

clustering/docker-compose-external.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ services:
9393
retries: 10
9494

9595
master:
96-
image: kartoza/geoserver:2.28.0
96+
image: kartoza/geoserver:2.28.1
9797
ports:
9898
- "8081:8080"
9999
environment:
@@ -121,7 +121,7 @@ services:
121121

122122

123123
node:
124-
image: kartoza/geoserver:2.28.0
124+
image: kartoza/geoserver:2.28.1
125125
ports:
126126
- "8082:8080"
127127
environment:

clustering/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
healthcheck:
2020
test: "PGPASSWORD=docker pg_isready -h 127.0.0.1 -U docker -d gis"
2121
master:
22-
image: kartoza/geoserver:2.28.1
22+
image: kartoza/geoserver:2.28.2
2323
volumes:
2424
- geoserver-cluster-data:/opt/geoserver/data_dir
2525
- geoserver-cluster-gwc-data:/opt/geoserver/gwc
@@ -54,7 +54,7 @@ services:
5454
timeout: 10s
5555
retries: 3
5656
node:
57-
image: kartoza/geoserver:2.28.1
57+
image: kartoza/geoserver:2.28.2
5858
volumes:
5959
- geoserver-cluster-data:/opt/geoserver/data_dir
6060
- geoserver-cluster-gwc-data:/opt/geoserver/gwc

upgrade_geoserver_version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ sed -i "s/${GS_VERSION}/${GS_NEW_VERSION}/g" ".env"
2020

2121
sed -i "s/${GS_VERSION}/${GS_NEW_VERSION}/g" "clustering/docker-compose.yml"
2222

23+
sed -i "s/${GS_VERSION}/${GS_NEW_VERSION}/g" "clustering/docker-compose-external.yml"
24+
2325
IFS='.' read -r MAJOR MINOR BUGFIX <<<"$GS_NEW_VERSION"
2426

2527
sed -i "s/minor: .*/minor: $MINOR/g; s/patch: .*/patch: $BUGFIX/g" ".github/workflows/deploy-image.yaml"

0 commit comments

Comments
 (0)