forked from xdocker/xgeoserver

Shane
2016-03-15 616d6b68bd5169ea2662e3dc6af2eac3cbf60b33
Update/fix README build-args
1 files modified
13 ■■■■ changed files
README.md 13 ●●●● patch | view | raw | blame | history
README.md
@@ -42,10 +42,10 @@
### Building with Oracle JDK
To replace OpenJDK Java with the Oracle JDK, set build-arg `OPEN_JDK=true`:
To replace OpenJDK Java with the Oracle JDK, set build-arg `ORACLE_JDK=true`:
```shell
docker build --build-arg OPEN_JDK=true -t kartoza/postgis .
docker build --build-arg ORACLE_JDK=true -t kartoza/postgis .
```
Alternatively, you can download the Oracle JDK 7 Linux x64 tar.gz currently in use by
@@ -63,6 +63,15 @@
`resources/plugins` before building. You should also download the matching version
GeoServer WAR zip file to `resources/geoserver.zip`.
### Removing Tomcat extras during build
To remove Tomcat extras including docs, examples, and the manager webapp, set the
`TOMCAT_EXTRAS` build-arg to `false`:
```shell
docker build --build-arg TOMCAT_EXTRAS=false -t kartoza/postgis .
```
### Building with file system overlays (advanced)
The contents of `resources/overlays` will be copied to the image file system