summaryrefslogtreecommitdiffstats
path: root/dcae-services-policy-sync/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-services-policy-sync/Dockerfile')
-rw-r--r--dcae-services-policy-sync/Dockerfile7
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" ]