diff options
author | Michael Dürre <michael.duerre@highstreet-technologies.com> | 2020-09-01 13:04:25 +0200 |
---|---|---|
committer | Michael Dürre <michael.duerre@highstreet-technologies.com> | 2020-09-01 13:46:17 +0000 |
commit | 1a75e4824ab39c493f405d8791dc62999b273f94 (patch) | |
tree | 7d25d807f4393c7e5b91023f82669be439cd8fa8 /odlsli/odlsli-alpine/src/main/docker | |
parent | daa8ee351d6743396e2024872a5d49cc328f4c9b (diff) |
fix odlsli image for new base image
fix odlsli image and remove unused files
Issue-ID: CCSDK-2717
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I7dac1412426d19663bd91ba5cf7f23d24da69b3f
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Diffstat (limited to 'odlsli/odlsli-alpine/src/main/docker')
-rw-r--r-- | odlsli/odlsli-alpine/src/main/docker/Dockerfile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/odlsli/odlsli-alpine/src/main/docker/Dockerfile b/odlsli/odlsli-alpine/src/main/docker/Dockerfile index 892260d1..ea6f41f7 100644 --- a/odlsli/odlsli-alpine/src/main/docker/Dockerfile +++ b/odlsli/odlsli-alpine/src/main/docker/Dockerfile @@ -2,9 +2,6 @@ ## START OF STAGE0 ## FROM ${base.image.name}:${project.docker.latestfulltag.version} AS stage0 -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV ODL_HOME /opt/opendaylight - # copy the opendaylight credentials COPY idmlight.db.mv.db $ODL_HOME/data @@ -17,13 +14,10 @@ COPY opt /opt COPY org.ops4j.pax.logging.cfg $ODL_HOME/etc/org.ops4j.pax.logging.cfg ## END OF STAGE0 ## - FROM ${base.image.name}:${project.docker.latestfulltag.version} -MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org) +LABEL maintainer="CCSDK Team (onap-ccsdk@lists.onap.org)" -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV ODL_HOME /opt/opendaylight ENV SDNC_CONFIG_DIR /opt/onap/ccsdk/data/properties ENV CCSDKFEATUREVERSION ${ccsdk.features.version} ENV CCSDK_SLI_CORE_REPO mvn:org.onap.ccsdk.sli.core/ccsdk-sli-core-all/${ccsdk.sli.core.version}/xml/features @@ -56,4 +50,3 @@ RUN sed -i -e "\|featuresBoot[^a-zA-Z]|s|$|,${ODL_BOOT_FEATURES_EXTRA}|" $ODL_H USER odl ENTRYPOINT /opt/onap/ccsdk/bin/startODL.sh -EXPOSE 8181 |