diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2021-04-16 19:54:15 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2021-04-16 20:17:23 +0000 |
commit | 40511bdccfd7a913ccd9628f2a8a950f0a47288b (patch) | |
tree | d6c04166dcf779ca5858c0f8d22570cb53e7e6f2 /dcae-services-policy-sync/Dockerfile | |
parent | b4a9da51e706df4eeec27f2a5c75edcc9e1ccbc9 (diff) |
Fix cert issue on policy-sync
Change-Id: I0396fc49a486d32d1e063ad8f2ff8dba9d51b96f
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-2735
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'dcae-services-policy-sync/Dockerfile')
-rw-r--r-- | dcae-services-policy-sync/Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dcae-services-policy-sync/Dockerfile b/dcae-services-policy-sync/Dockerfile index f317a85..1ad4fba 100644 --- a/dcae-services-policy-sync/Dockerfile +++ b/dcae-services-policy-sync/Dockerfile @@ -35,9 +35,14 @@ ADD policysync policysync RUN /policysync/bin/pip install . FROM nexus3.onap.org:10001/onap/integration-python:7.0.1 as runtime - +USER root COPY --from=build /policysync /policysync +# Load ONAP root CA +COPY ./cacert.pem /usr/local/share/ca-certificates/ +RUN update-ca-certificates + + USER onap ENTRYPOINT [ "/policysync/bin/policysync" ] |