summaryrefslogtreecommitdiffstats
path: root/pnda-mirror-container/Dockerfile
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2018-10-29 22:04:22 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-29 22:04:22 +0000
commitd003b6e2876dc3b0ef125e90622964eaf8f3114a (patch)
tree2bfb0d829739da9ae4bf2a7507c4895710939914 /pnda-mirror-container/Dockerfile
parent251ca1da04625ce590c08afe1be67e2c94bd150d (diff)
parentdbac6f26fe6e6a10ae87e06db6fef34afa402727 (diff)
Merge "Align PNDA build and deployment with release/5.0"
Diffstat (limited to 'pnda-mirror-container/Dockerfile')
-rw-r--r--pnda-mirror-container/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/pnda-mirror-container/Dockerfile b/pnda-mirror-container/Dockerfile
index 3fdcfee..9891a15 100644
--- a/pnda-mirror-container/Dockerfile
+++ b/pnda-mirror-container/Dockerfile
@@ -18,24 +18,24 @@
FROM centos:7.5.1804 as build
-ARG PNDARELEASE=develop
+ARG PNDARELEASE=release/5.0
# Can be HDP or CDH
ARG HADOOPDIST=HDP
-
RUN yum clean all && rm -rf /var/cache/yum/* && yum install gettext git -y
RUN git clone -b $PNDARELEASE https://github.com/pndaproject/pnda.git
WORKDIR /pnda/mirror
-RUN ./create_mirror.sh HDP
+# Add the -r flag to mirror rpm packages
+RUN ./create_mirror.sh -d $HADOOPDIST -r
WORKDIR /pnda/build
RUN ./install-build-tools.sh
RUN yum install bzip2 make which -y
RUN source ./set-pnda-env.sh \
- && PARALLEL="--jobs 1" ./build-pnda.sh BRANCH $PNDARELEASE $HADOOPDIST
+ && PARALLEL="--jobs 1" ./build-pnda.sh RELEASE $PNDARELEASE $HADOOPDIST
FROM nginx:alpine