aboutsummaryrefslogtreecommitdiffstats
path: root/dbc-client/src/main
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2019-04-03 23:16:06 +0000
committerdglFromAtt <dgl@research.att.com>2019-04-03 23:16:15 +0000
commita4aeefb08d2ed5fb10a94fe3df63910db7827d33 (patch)
treef8c9f5db3d13dc34eafc1680d3bc0eeeb007165f /dbc-client/src/main
parente6de2cef6c35390335df07f868d2484adc3949c3 (diff)
Add client cert PEM files for authenticated requests
Note also relocated AAF cert artifacts since they are used by both docker images created in this repo. Change-Id: I539c0062ab9bc573e610bc7669d78e9528e2aace Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1142
Diffstat (limited to 'dbc-client/src/main')
-rw-r--r--dbc-client/src/main/resources/Dockerfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile
index 90cd7f9..9baa481 100644
--- a/dbc-client/src/main/resources/Dockerfile
+++ b/dbc-client/src/main/resources/Dockerfile
@@ -35,11 +35,15 @@ RUN update-ca-certificates
# Install curl
RUN apk add --no-cache curl
-RUN apk add --no-cache curl
+# Install client certs for curl and openssl
+RUN apk add --no-cache openssl
+RUN mkdir -p /opt/app/osaaf/local && \
+ mv etc/org.onap.dmaap-bc.p12 /opt/app/osaaf/local && \
+ mv etc/*.pem /opt/app/osaaf/local
RUN chmod +x /opt/app/dbc-client/bin/* && \
mkdir /opt/app/dbc-client/logs
VOLUME /opt/app/dbc-client/log
-ENTRYPOINT ["sh", "./bin/dbc-client", "deploy"]
+ENTRYPOINT ["sh", "./bin/dbc-client" ]