diff options
Diffstat (limited to 'ecomp-portal-widget-ms')
-rw-r--r-- | ecomp-portal-widget-ms/widget-ms/pom.xml | 17 | ||||
-rw-r--r-- | ecomp-portal-widget-ms/widget-ms/src/main/docker/Dockerfile | 6 |
2 files changed, 5 insertions, 18 deletions
diff --git a/ecomp-portal-widget-ms/widget-ms/pom.xml b/ecomp-portal-widget-ms/widget-ms/pom.xml index 14820b65..dcab5721 100644 --- a/ecomp-portal-widget-ms/widget-ms/pom.xml +++ b/ecomp-portal-widget-ms/widget-ms/pom.xml @@ -146,20 +146,13 @@ <artifactId>spring-boot-maven-plugin</artifactId> </plugin> + <!-- No deployment step for this project --> <plugin> - <groupId>com.spotify</groupId> - <artifactId>docker-maven-plugin</artifactId> - <version>0.4.11</version> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8</version> <configuration> - <imageName>${project.artifactId}</imageName> - <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory> - <resources> - <resource> - <targetPath>/</targetPath> - <directory>${project.build.directory}</directory> - <include>${project.build.finalName}.jar</include> - </resource> - </resources> + <skip>true</skip> </configuration> </plugin> diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/docker/Dockerfile b/ecomp-portal-widget-ms/widget-ms/src/main/docker/Dockerfile deleted file mode 100644 index 7e25c222..00000000 --- a/ecomp-portal-widget-ms/widget-ms/src/main/docker/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM frolvlad/alpine-oraclejdk8:slim -VOLUME /tmp -ADD widget-ms.jar app.jar -RUN sh -c 'touch /app.jar' -ENV JAVA_OPTS="" -ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ] |