INT-812 and 817, small, multi-arch images
Issue-ID: INT-817
Change-Id: I282356169901d7d5f4ad162695cb76bd10138eeb
Signed-off-by: sandovalfr <frank.sandoval@oamtechnologies.com>
Former-commit-id: 0df7aa33a5ffba852632737b171f8406ec3d97f2
diff --git a/installation/dmaap-listener/pom.xml b/installation/dmaap-listener/pom.xml
index 1be5d88..d0c235f 100644
--- a/installation/dmaap-listener/pom.xml
+++ b/installation/dmaap-listener/pom.xml
@@ -197,7 +197,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.16.5</version>
+ <version>0.28.0</version>
<inherited>false</inherited>
<configuration>
<images>
@@ -206,7 +206,7 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
- <dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
+ <dockerFile>Dockerfile</dockerFile>
<tags>
<tag>${project.version}</tag>
<tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
diff --git a/installation/dmaap-listener/src/main/docker/Dockerfile b/installation/dmaap-listener/src/main/docker/Dockerfile
index 28676fa..71f2eca 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}
-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
+FROM alpine:3.8
+MAINTAINER SDNC Team (onap-sdnc@lists.onap.org)
+
+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