Skip to content

Commit

Permalink
update Build Arguments section in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hisham waleed karam committed Oct 21, 2018
1 parent b7c7302 commit 856c92c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Expand Up @@ -11,12 +11,13 @@ echo "Building GeoServer using the specified version "
sed -i "s/${OLD_MAJOR}.${OLD_MINOR}.${OLD_BUGFIX}/${MAJOR}.${MINOR}.${BUGFIX}/g" Dockerfile
docker build --build-arg GS_VERSION=${MAJOR}.${MINOR}.${BUGFIX} -t kartoza/geoserver:${MAJOR}.${MINOR}.${BUGFIX} .

# Build Arguments - The change the defaults when building the image
# Build Arguments - To change the defaults when building the image
#need to specify a different value.
```
--build-arg ORACLE_JDK=true
--build-arg COMMUNITY_MODULES=true
--build-arg TOMCAT_EXTRAS=false
--build-arg WAR_URL=http://downloads.sourceforge.net/project/geoserver/GeoServer/<GS_VERSION>/geoserver-<GS_VERSION>-war.zip
```


Expand Down

0 comments on commit 856c92c

Please sign in to comment.