aboutsummaryrefslogtreecommitdiffstats
path: root/dmaap-bc/src/main/resources/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dmaap-bc/src/main/resources/Dockerfile')
-rw-r--r--dmaap-bc/src/main/resources/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/dmaap-bc/src/main/resources/Dockerfile b/dmaap-bc/src/main/resources/Dockerfile
index 344e277..f900fed 100644
--- a/dmaap-bc/src/main/resources/Dockerfile
+++ b/dmaap-bc/src/main/resources/Dockerfile
@@ -26,6 +26,15 @@ COPY /opt /opt
WORKDIR /opt/app/dmaapbc
+# Install AAF CA certificate
+RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
+RUN mkdir -p /usr/local/share/ca-certificates && \
+ mv misc/aaf-ca.crt /usr/local/share/ca-certificates/aaf-ca.crt
+RUN update-ca-certificates
+
+# Install curl
+RUN apk add --no-cache curl
+
RUN mv etc/org.onap.dmaap-bc.jks etc/keystore && \
chmod 600 etc/keystore && \
chmod 600 etc/org.onap.dmaap-bc.trust.jks && \