From 23b00b376a00249521a8728cfb9ecd8f2b945ff1 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Fri, 4 Sep 2020 13:02:08 -0400 Subject: Fix errors in odlsli Dockerfile Fix errors in odlsli Dockerfile introduced by port to common ONAP base image Change-Id: I7593a5b93ada0b6215d38536dda14ef0f0fbca26 Issue-ID: CCSDK-2418 Signed-off-by: Dan Timoney --- odlsli/odlsli-alpine/src/main/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'odlsli/odlsli-alpine/src/main/docker') diff --git a/odlsli/odlsli-alpine/src/main/docker/Dockerfile b/odlsli/odlsli-alpine/src/main/docker/Dockerfile index cca71f6d..e8fa5ef6 100644 --- a/odlsli/odlsli-alpine/src/main/docker/Dockerfile +++ b/odlsli/odlsli-alpine/src/main/docker/Dockerfile @@ -3,7 +3,7 @@ FROM ${base.image.name}:${project.docker.latestfulltag.version} AS stage0 # copy the opendaylight credentials -USER ROOT +USER root COPY idmlight.db.mv.db $ODL_HOME/data # copy CCSDK mvn artifacts to ODL repository @@ -18,6 +18,7 @@ COPY org.ops4j.pax.logging.cfg $ODL_HOME/etc/org.ops4j.pax.logging.cfg FROM ${base.image.name}:${project.docker.latestfulltag.version} LABEL maintainer="CCSDK Team (onap-ccsdk@lists.onap.org)" +USER root ENV SDNC_CONFIG_DIR /opt/onap/ccsdk/data/properties ENV CCSDKFEATUREVERSION ${ccsdk.features.version} -- cgit 1.2.3-korg