Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ on:
push:
branches:
- "master"
- "OPT-671-apply-patches-to-geoserver"
jobs:
build-and-push-image:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- tag: 2.26.0-jms # 2.22.1
gs-version: 2.26.0
label: 2.26.0-jms
- tag: 2.25.2-amd64 # 2.25.2-arm64
gs-version: 2.25.2
label: 2.25.2
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -57,5 +58,5 @@ jobs:
GS_VERSION=${{ matrix.gs-version }}
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/arm64/v8
platforms: linux/arm64/v8 # linux/amd64
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
# Defaults to amd64:
FROM tomcat:9-jre11-temurin@sha256:bf23f2dffde0c1b6ef6eaba95e05f531a3a6f274c5234d10126d73b092db18b6
FROM tomcat:9-jre11-temurin@sha256:f4cc53f42b3f25689119a153ff4af60d7b71e5e1668e2e70c4c550d23a7f3344
# Valid for arm64:
# FROM tomcat:9-jre11-temurin@sha256:96f05b79814a1fb0523e3063668b4e3be7a1bbb01e6e6b2757915764381825ac
# FROM tomcat:9-jre11-temurin@sha256:7477976d90cf983f6efe920cad41c1773481ddf61f403f59cfc1db1979c4150b
#9.0-jre11-slim
#9.0.65-jdk11-openjdk-slim
MAINTAINER thinkWhere<info@thinkwhere.com>
Expand Down
9 changes: 4 additions & 5 deletions build/build.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@Echo off

SET GS_VERSION=2.18.3
SET GS_VERSION=2.25.2
SET BUILD_GS_VERSION=%GS_VERSION:~0,4%

rem Create plugins folder if does not exist
Expand All @@ -17,7 +17,7 @@ for %%f in (%plugins%) do (
@ECHO geoserver-%%f-plugin downloaded.
)

SET community_plugins=cog
SET community_plugins=cog-s3

rem Community plugins are not available from sourgeforge
rem therefore source from https://build.geoserver.org/
Expand All @@ -27,13 +27,12 @@ for %%f in (%community_plugins%) do (
@ECHO geoserver-%%f-plugin downloaded.
)


rem Build options include:
rem TOMCAT_EXTRAS [true | false]
rem GDAL_NATIVE [true | false] - default false; build with GDAL support
rem GS_VERSION - specifies which version of geoserver is to be built

rem Valid for AMD64 (i.e., t3a.medium)
rem docker build --build-arg GS_VERSION=${GS_VERSION} --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=true -t thinkwhere/geoserver:${GS_VERSION} .
docker build --build-arg GS_VERSION=${GS_VERSION} --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=false --platform linux/amd64 -t thinkwhere/geoserver:${GS_VERSION} .
rem Valid also for ARM64 (i.e., t4g.medium)
docker buildx build --build-arg GS_VERSION=%GS_VERSION% --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=false --platform linux/arm64/v8 -t thinkwhere/geoserver:%GS_VERSION% --push .
rem docker buildx build --build-arg GS_VERSION=%GS_VERSION% --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=false --platform linux/arm64/v8 -t thinkwhere/geoserver:%GS_VERSION% --push .
6 changes: 3 additions & 3 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ then
mkdir ./resources/plugins
fi

GS_VERSION=2.26.0
GS_VERSION=2.25.2
BUILD_GS_VERSION=${GS_VERSION:0:-2}

# Add in selected plugins. Comment out or modify as required
Expand All @@ -27,7 +27,7 @@ done

# Community plugins are not available from sourgeforge
# therefore source from https://build.geoserver.org/
community_plugins=(cog-s3 jms-cluster) # activeMQ-broker )
community_plugins=(cog-s3)
for c in "${community_plugins[@]}"
do
if [ ! -f resources/plugins/geoserver-${c}-plugin.zip ]
Expand All @@ -42,6 +42,6 @@ done
# GS_VERSION - specifies which version of geoserver is to be built

# Valid for AMD64 (i.e., t3a.medium)
docker build --build-arg GS_VERSION=${GS_VERSION} --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=true -t thinkwhere/geoserver:${GS_VERSION} .
docker build --build-arg GS_VERSION=${GS_VERSION} --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=false --platform linux/amd64 -t thinkwhere/geoserver:${GS_VERSION} .
# Valid also for ARM64 (i.e., t4g.medium)
# docker buildx build --build-arg GS_VERSION=${GS_VERSION} --build-arg TOMCAT_EXTRAS=false --build-arg GDAL_NATIVE=false --platform linux/arm64/v8 -t thinkwhere/geoserver:${GS_VERSION} --push .
2 changes: 1 addition & 1 deletion build/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ done

# Community plugins are not available from sourgeforge
# therefore source from https://build.geoserver.org/
community_plugins=(cog-s3 jms-cluster) #activeMQ-broker )
community_plugins=(cog-s3)
for c in "${community_plugins[@]}"
do
if [ ! -f resources/plugins/geoserver-${c}-plugin.zip ]
Expand Down
Loading