diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2018-10-01 20:34:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-01 20:34:44 +0000 |
commit | 3ba3693eeffbcc20fe6579670d7941ca78367907 (patch) | |
tree | ff62949775a0fe952a3a89be97da3aeb576bc263 | |
parent | 1fe9e4d7a83691867a8caefec6904d8188feb606 (diff) | |
parent | 592a556b75ff6c8528e05dae5ec72ca88c7f52cd (diff) |
Merge "Don't build pnda components in parallel"
-rw-r--r-- | pnda-mirror-container/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pnda-mirror-container/Dockerfile b/pnda-mirror-container/Dockerfile index c6b8f30..3fdcfee 100644 --- a/pnda-mirror-container/Dockerfile +++ b/pnda-mirror-container/Dockerfile @@ -19,6 +19,9 @@ FROM centos:7.5.1804 as build ARG PNDARELEASE=develop +# Can be HDP or CDH +ARG HADOOPDIST=HDP + RUN yum clean all && rm -rf /var/cache/yum/* && yum install gettext git -y @@ -32,7 +35,7 @@ RUN ./install-build-tools.sh RUN yum install bzip2 make which -y RUN source ./set-pnda-env.sh \ - && ./build-pnda.sh BRANCH $PNDARELEASE HDP + && PARALLEL="--jobs 1" ./build-pnda.sh BRANCH $PNDARELEASE $HADOOPDIST FROM nginx:alpine |