summaryrefslogtreecommitdiffstats
path: root/pnda-mirror-container/Dockerfile
diff options
context:
space:
mode:
authorDonald Hunter <donaldh@cisco.com>2019-02-27 15:10:54 +0000
committerDonald Hunter <donaldh@cisco.com>2019-02-27 15:14:07 +0000
commit363933ac57ab97e2fc5cb372056b6e8463602b0b (patch)
treef926769705c10770c8160fb1e2b02dbc636f145a /pnda-mirror-container/Dockerfile
parent706a7f30d97358155a8561bad0acd3cc956a3f43 (diff)
Apply fix to PNDA release/5.0 for knox
Change-Id: I284c7e58dc5a0de569731b9bffac13506689695a Signed-off-by: Donald Hunter <donaldh@cisco.com> Issue-ID: DCAEGEN2-1298
Diffstat (limited to 'pnda-mirror-container/Dockerfile')
-rw-r--r--pnda-mirror-container/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pnda-mirror-container/Dockerfile b/pnda-mirror-container/Dockerfile
index 9891a15..ea7e100 100644
--- a/pnda-mirror-container/Dockerfile
+++ b/pnda-mirror-container/Dockerfile
@@ -26,6 +26,10 @@ 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
+COPY pnda-5.0-maint.patch /
+WORKDIR /pnda
+RUN git apply /pnda-5.0-maint.patch
+
WORKDIR /pnda/mirror
# Add the -r flag to mirror rpm packages
RUN ./create_mirror.sh -d $HADOOPDIST -r