Skip to content

Commit

Permalink
Generate GEOSERVER IMAGE 2.25.2 for groundmapper
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseSanchezMoralesIDOX committed Oct 14, 2024
1 parent 0125ca6 commit a3f338c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 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-arm64
gs-version: 2.25.2
label: 2.25.2
permissions:
contents: read
packages: write
Expand Down
8 changes: 4 additions & 4 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:bf23f2dffde0c1b6ef6eaba95e05f531a3a6f274c5234d10126d73b092db18b6
# Valid for arm64:
# FROM tomcat:9-jre11-temurin@sha256:96f05b79814a1fb0523e3063668b4e3be7a1bbb01e6e6b2757915764381825ac
FROM tomcat:9-jre11-temurin@sha256:87d94e757ccd243c9f277ae6fd362bd1c718446599fb36acd8f93c1af3efaf61
#9.0-jre11-slim
#9.0.65-jdk11-openjdk-slim
MAINTAINER thinkWhere<[email protected]>
Expand All @@ -28,9 +28,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
GDAL_SKIP="ECW JP2ECW" \
GDAL_DATA=/usr/local/gdal-data \
# AMD64 architecture:
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu"
# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu"
# ARM64 architecture:
# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib:/usr/lib:/usr/lib/aarch64-linux-gnu"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/apr/lib:/usr/lib:/usr/lib/aarch64-linux-gnu"


RUN mkdir -p ${GEOSERVER_DATA_DIR}
Expand Down
4 changes: 2 additions & 2 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 Down
8 changes: 4 additions & 4 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=true -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 .
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 .

0 comments on commit a3f338c

Please sign in to comment.