summaryrefslogtreecommitdiffstats
path: root/odlsli
diff options
context:
space:
mode:
Diffstat (limited to 'odlsli')
-rw-r--r--odlsli/odlsli-alpine/src/main/docker/Dockerfile3
-rw-r--r--odlsli/src/main/scripts/installSdncDb.sh2
-rw-r--r--odlsli/src/main/scripts/startODL.sh2
3 files changed, 4 insertions, 3 deletions
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}
diff --git a/odlsli/src/main/scripts/installSdncDb.sh b/odlsli/src/main/scripts/installSdncDb.sh
index b8cf6938..efd7fe02 100644
--- a/odlsli/src/main/scripts/installSdncDb.sh
+++ b/odlsli/src/main/scripts/installSdncDb.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/odlsli/src/main/scripts/startODL.sh b/odlsli/src/main/scripts/startODL.sh
index 3943115d..4d608577 100644
--- a/odlsli/src/main/scripts/startODL.sh
+++ b/odlsli/src/main/scripts/startODL.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================