diff options
-rw-r--r-- | installation/dmaap-listener/pom.xml | 4 | ||||
-rw-r--r-- | installation/dmaap-listener/src/main/docker/Dockerfile | 19 |
2 files changed, 18 insertions, 5 deletions
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 @@ <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 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 |