From 6743641a68af18c96014714227643cc0d7c147d5 Mon Sep 17 00:00:00 2001 From: sandovalfr Date: Mon, 28 Jan 2019 13:16:57 -0700 Subject: INT-812 and 817, small, multi-arch images Issue-ID: INT-817 Change-Id: I282356169901d7d5f4ad162695cb76bd10138eeb Signed-off-by: sandovalfr Former-commit-id: 0df7aa33a5ffba852632737b171f8406ec3d97f2 --- installation/dmaap-listener/pom.xml | 4 ++-- .../dmaap-listener/src/main/docker/Dockerfile | 19 ++++++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) (limited to 'installation') diff --git a/installation/dmaap-listener/pom.xml b/installation/dmaap-listener/pom.xml index 1be5d881..d0c235f5 100644 --- a/installation/dmaap-listener/pom.xml +++ b/installation/dmaap-listener/pom.xml @@ -197,7 +197,7 @@ io.fabric8 docker-maven-plugin - 0.16.5 + 0.28.0 false @@ -206,7 +206,7 @@ try ${basedir}/target/docker-stage - ${basedir}/target/docker-stage/Dockerfile + Dockerfile ${project.version} ${project.version}-STAGING-${maven.build.timestamp} diff --git a/installation/dmaap-listener/src/main/docker/Dockerfile b/installation/dmaap-listener/src/main/docker/Dockerfile index 28676fac..71f2eca4 100644 --- a/installation/dmaap-listener/src/main/docker/Dockerfile +++ b/installation/dmaap-listener/src/main/docker/Dockerfile @@ -1,9 +1,22 @@ # Base ubuntu with added packages needed for open ecomp -FROM onap/ccsdk-ubuntu-image:${ccsdk.docker.version} +FROM alpine:3.8 + MAINTAINER SDNC Team (onap-sdnc@lists.onap.org) -ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 -ENV SDNC_CONFIG_DIR /opt/onap/sdnc/data/properties +ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk +ENV SDNC_CONFIG_DIR /opt/onap/sdnc/data/properties + +RUN apk update && apk add \ + bash \ + git \ + openjdk8 \ + maven \ + mysql-client \ + nodejs \ + py-pip \ + graphviz \ + unzip \ + rsync # copy deliverables to opt COPY opt /opt -- cgit 1.2.3-korg