summaryrefslogtreecommitdiffstats
path: root/pnda-mirror-container/Dockerfile
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-08-31 11:13:37 +0200
committerJulien Barbot <julien@barbot.org>2018-08-31 14:18:11 +0200
commit43f93c0999145ceab115696207ea9879010310eb (patch)
tree940aaac6e13624e265c87045582dd8eb319b6a86 /pnda-mirror-container/Dockerfile
parent70e1c3af97747c0e4972a6de68dd135a6ea9470c (diff)
Update PNDA mirror creation
Only download HDP components Issue-ID: DCAEGEN2-367 Change-Id: I650066bdcd21c0fdf284b01438f3ab06fa51972f Signed-off-by: Julien Barbot <julien@barbot.org>
Diffstat (limited to 'pnda-mirror-container/Dockerfile')
-rw-r--r--pnda-mirror-container/Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/pnda-mirror-container/Dockerfile b/pnda-mirror-container/Dockerfile
index 595463d..c6b8f30 100644
--- a/pnda-mirror-container/Dockerfile
+++ b/pnda-mirror-container/Dockerfile
@@ -25,15 +25,14 @@ 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
-RUN rm -rf /pnda/mirror/mirror-dist/mirror_cloudera
+RUN ./create_mirror.sh HDP
WORKDIR /pnda/build
RUN ./install-build-tools.sh
RUN yum install bzip2 make which -y
RUN source ./set-pnda-env.sh \
- && ./build-pnda.sh BRANCH $PNDARELEASE
+ && ./build-pnda.sh BRANCH $PNDARELEASE HDP
FROM nginx:alpine