aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client/src
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2019-03-22 19:42:37 +0000
committerdglFromAtt <dgl@research.att.com>2019-03-22 19:42:43 +0000
commita2f7b3212b5105eeb5942d75ca25c0a5dbebae52 (patch)
tree8659d0ebcdce4e4f4e3515dc8ec910ee492949f7 /dbc-client/src
parentff7ac524776b850b0054026566d4d1026067896d (diff)
Install curl and client certificate
Change-Id: I7a85151f43cf65483a9d79171212cc00378168ff Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1120
Diffstat (limited to 'dbc-client/src')
-rw-r--r--dbc-client/src/main/resources/Dockerfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile
index 1e49e42..2025a5e 100644
--- a/dbc-client/src/main/resources/Dockerfile
+++ b/dbc-client/src/main/resources/Dockerfile
@@ -26,7 +26,16 @@ COPY /opt /opt
WORKDIR /opt/app/dbc-client
-#RUN apk add --no-cache curl
+# 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 apk add --no-cache curl
RUN chmod +x /opt/app/dbc-client/misc/cert-client-init.sh && \
chmod +x /opt/app/dbc-client/bin/* && \