From 1a75e4824ab39c493f405d8791dc62999b273f94 Mon Sep 17 00:00:00 2001 From: Michael Dürre Date: Tue, 1 Sep 2020 13:04:25 +0200 Subject: fix odlsli image for new base image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix odlsli image and remove unused files Issue-ID: CCSDK-2717 Signed-off-by: Michael Dürre Change-Id: I7dac1412426d19663bd91ba5cf7f23d24da69b3f Signed-off-by: Michael Dürre --- odlsli/odlsli-alpine/src/main/docker/Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (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 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 -- cgit 1.2.3-korg