diff options
author | vrvarma <vikas.varma@att.com> | 2020-03-27 12:28:58 -0400 |
---|---|---|
committer | vrvarma <vikas.varma@att.com> | 2020-03-27 12:29:47 -0400 |
commit | ddac631c097167df890cf6814df301b61a0815c7 (patch) | |
tree | 22db5ad58ada6c861c108973a65f072ef944489e /docker | |
parent | d682a8dd79dacac6c74832e402a845de52c2f6bf (diff) |
optf-osdf pod failing to start in k8s env2.0.2
Change-Id: I4c9f4f5df5462419e39b063666ff5f5187ad71ef
Signed-off-by: vrvarma <vikas.varma@att.com>
Issue-ID: OPTFRA-729
Diffstat (limited to 'docker')
-rw-r--r-- | docker/osdf/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/osdf/Dockerfile b/docker/osdf/Dockerfile index 1533d5f..66a5aa7 100644 --- a/docker/osdf/Dockerfile +++ b/docker/osdf/Dockerfile @@ -65,6 +65,11 @@ RUN groupadd onap \ COPY onap-osdf-tm/optf-osdf-${MVN_ARTIFACT_VERSION}.zip /tmp/optf-osdf.zip COPY onap-osdf-tm/apps /opt/osdf/apps RUN unzip -q -o -B /tmp/optf-osdf.zip -d /opt/ && rm -f /tmp/optf-osdf.zip +RUN mkdir -p /usr/local/share/ca-certificates \ + && cp /opt/osdf/ssl_certs/aaf_root_ca.cer /usr/local/share/ca-certificates/aafcacert.crt \ + && chmod 444 /usr/local/share/ca-certificates/aafcacert.crt \ + && update-ca-certificates + RUN mkdir -p /var/log/onap/optf/osdf/ \ && chown -R onap:onap /var/log/onap \ && chown -R onap:onap /opt/osdf |