diff options
author | Monty Taylor <mordred@inaugust.com> | 2019-02-05 13:59:10 +0000 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2019-02-05 14:32:58 +0000 |
commit | 73feab3b13caeee7ee4c01fa49a9c3d2c16f82e5 (patch) | |
tree | 964f7c96a9a5c27752fa25575d541739602f544c /Dockerfile | |
parent | 3294e6e3e39a3c03ae0f817cc4256005c0e53b75 (diff) | |
download | zuul-73feab3b13caeee7ee4c01fa49a9c3d2c16f82e5.tar.gz |
Add react build env vars to Dockerfile
So that people can re-use the Dockerfiles to build zuul images
but with different flags set, plumb the env vars through here
as ARG entries.
Also, fix 2 doc references that were misspelled.
Change-Id: I320a496eadf4132fc0583dd48a87024a2ff61a07
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 4031bf528..33e7e3d29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,11 @@ FROM opendevorg/python-builder as builder +# Optional location of Zuul API endpoint. +ARG REACT_APP_ZUUL_API +# Optional flag to disable React Service Worker. (set to true to disable) +ARG REACT_APP_DISABLE_SERVICE_WORKER + COPY . /tmp/src RUN /tmp/src/tools/install-js-tools.sh RUN assemble |