X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=blobdiff_plain;f=dbc-client%2Fsrc%2Fmain%2Fresources%2FDockerfile;h=2025a5e3889039cee41670b4dc29ec0469d5e3f5;hp=1e49e420e70849f157511d538b348cc6224f85c6;hb=a2f7b3212b5105eeb5942d75ca25c0a5dbebae52;hpb=ff7ac524776b850b0054026566d4d1026067896d 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/* && \