From 616d6b68bd5169ea2662e3dc6af2eac3cbf60b33 Mon Sep 17 00:00:00 2001
From: Shane <shane@axiomdatascience.com>
Date: Tue, 15 Mar 2016 11:00:05 +0800
Subject: [PATCH] Update/fix README build-args

---
 README.md |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index d2be021..943608c 100644
--- a/README.md
+++ b/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

--
Gitblit v0.0.0-SNAPSHOT