diff options
author | dglFromAtt <dgl@research.att.com> | 2019-03-22 19:42:37 +0000 |
---|---|---|
committer | dglFromAtt <dgl@research.att.com> | 2019-03-22 19:42:43 +0000 |
commit | a2f7b3212b5105eeb5942d75ca25c0a5dbebae52 (patch) | |
tree | 8659d0ebcdce4e4f4e3515dc8ec910ee492949f7 /dmaap-bc | |
parent | ff7ac524776b850b0054026566d4d1026067896d (diff) |
Install curl and client certificate
Change-Id: I7a85151f43cf65483a9d79171212cc00378168ff
Signed-off-by: dglFromAtt <dgl@research.att.com>
Issue-ID: DMAAP-1120
Diffstat (limited to 'dmaap-bc')
-rw-r--r-- | dmaap-bc/pom.xml | 1 | ||||
-rw-r--r-- | dmaap-bc/src/main/resources/Dockerfile | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dmaap-bc/pom.xml b/dmaap-bc/pom.xml index 0a77b8d..24f9e42 100644 --- a/dmaap-bc/pom.xml +++ b/dmaap-bc/pom.xml @@ -222,6 +222,7 @@ <directory>${multiproject.basedir}/misc</directory> <includes> <include>cert-client-init.sh</include> + <include>aaf-ca.crt</include> </includes> </resource> <resource> 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 && \ |