[GEOS-11169] Correct release.sh STABLE_PLUGIN_URL and COMMUNITY_PLUGIN_URL
parent
66456cdf83
commit
d4656efdf3
|
|
@ -66,7 +66,7 @@ RUN echo "Downloading GeoServer ${GS_VERSION} ${GS_BUILD}" \
|
|||
|
||||
FROM tomcat as install
|
||||
|
||||
ARG GS_VERSION=2.23.1
|
||||
ARG GS_VERSION=2.24.0
|
||||
ARG GS_BUILD=release
|
||||
ARG STABLE_PLUGIN_URL=https://downloads.sourceforge.net/project/geoserver/GeoServer/${GS_VERSION}/extensions
|
||||
ARG COMMUNITY_PLUGIN_URL=''
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ if [[ $1 == *build* ]]; then
|
|||
# todo: --no-cache-filter download,install
|
||||
docker build \
|
||||
--build-arg WAR_ZIP_URL=https://build.geoserver.org/geoserver/main/geoserver-main-latest-war.zip \
|
||||
--build-arg STABLE_PLUGIN_URL=https://build.geoserver.org/geoserver/main/ext-latest/ \
|
||||
--build-arg COMMUNITY_PLUGIN_URL=https://build.geoserver.org/geoserver/main/community-latest/ \
|
||||
--build-arg STABLE_PLUGIN_URL=https://build.geoserver.org/geoserver/main/ext-latest \
|
||||
--build-arg COMMUNITY_PLUGIN_URL=https://build.geoserver.org/geoserver/main/community-latest \
|
||||
--build-arg GS_VERSION=$VERSION \
|
||||
--build-arg GS_BUILD=$BUILD \
|
||||
-t $TAG .
|
||||
|
|
@ -71,8 +71,8 @@ if [[ $1 == *build* ]]; then
|
|||
echo "docker build --build-arg GS_VERSION=$VERSION --build-arg GS_BUILD=$BUILD -t $TAG ."
|
||||
docker build \
|
||||
--build-arg WAR_ZIP_URL=https://build.geoserver.org/geoserver/$BRANCH/geoserver-$BRANCH-latest-war.zip \
|
||||
--build-arg STABLE_PLUGIN_URL=https://build.geoserver.org/geoserver/$BRANCH/ext-latest/ \
|
||||
--build-arg COMMUNITY_PLUGIN_URL=https://build.geoserver.org/geoserver/$BRANCH/community-latest/ \
|
||||
--build-arg STABLE_PLUGIN_URL=https://build.geoserver.org/geoserver/$BRANCH/ext-latest \
|
||||
--build-arg COMMUNITY_PLUGIN_URL=https://build.geoserver.org/geoserver/$BRANCH/community-latest \
|
||||
--build-arg GS_VERSION=$VERSION \
|
||||
--build-arg GS_BUILD=$BUILD \
|
||||
-t $TAG .
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
args:
|
||||
- GEOSERVER_VERSION=2.22.0
|
||||
- GEOSERVER_VERSION=2.24.0
|
||||
- CORS_ENABLED=true
|
||||
- CORS_ALLOWED_METHODS=GET,POST,PUT,HEAD,OPTIONS
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in New Issue