summaryrefslogtreecommitdiffstats
path: root/opendaylight/silicon/silicon-alpine/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'opendaylight/silicon/silicon-alpine/src/main')
-rw-r--r--opendaylight/silicon/silicon-alpine/src/main/docker/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/opendaylight/silicon/silicon-alpine/src/main/docker/Dockerfile b/opendaylight/silicon/silicon-alpine/src/main/docker/Dockerfile
index 9c8099a3..e0091984 100644
--- a/opendaylight/silicon/silicon-alpine/src/main/docker/Dockerfile
+++ b/opendaylight/silicon/silicon-alpine/src/main/docker/Dockerfile
@@ -22,15 +22,18 @@ COPY system $ODL_HOME/system
## END OF STAGE0 ##
+#################################################
## This will create actual image
-FROM onap/ccsdk-alpine-j11-image:${project.docker.latestfulltag.version}
+FROM scratch
MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org)
USER root
+ENV JAVA_HOME /opt/java/openjdk
ENV ODL_HOME /opt/opendaylight/current
-COPY --from=stage0 /opt /opt
+# Copy Everything from stage0
+COPY --from=stage0 / /
# ENTRYPOINT exec /opt/opendaylight/bin/karaf
WORKDIR $ODL_HOME