From c3f5ca0e0fc360cb0a6adccf30973baf3eb2cd3d Mon Sep 17 00:00:00 2001 From: Eberhard Wolff Date: Mon, 28 Jan 2019 05:17:30 +0100 Subject: [PATCH] Update Docker container to Java 10 --- microservice-demo/microservice-demo-catalog/Dockerfile | 2 +- microservice-demo/microservice-demo-customer/Dockerfile | 2 +- microservice-demo/microservice-demo-eureka-server/Dockerfile | 2 +- microservice-demo/microservice-demo-order/Dockerfile | 2 +- microservice-demo/microservice-demo-turbine-server/Dockerfile | 2 +- microservice-demo/microservice-demo-zuul-server/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/microservice-demo/microservice-demo-catalog/Dockerfile b/microservice-demo/microservice-demo-catalog/Dockerfile index c2b3878..90182c7 100644 --- a/microservice-demo/microservice-demo-catalog/Dockerfile +++ b/microservice-demo/microservice-demo-catalog/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-catalog-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx400m -Xms400m -jar microservice-demo-catalog-0.0.1-SNAPSHOT.jar EXPOSE 8080 diff --git a/microservice-demo/microservice-demo-customer/Dockerfile b/microservice-demo/microservice-demo-customer/Dockerfile index b4b5765..41685a4 100644 --- a/microservice-demo/microservice-demo-customer/Dockerfile +++ b/microservice-demo/microservice-demo-customer/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-customer-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx400m -Xms400m -jar microservice-demo-customer-0.0.1-SNAPSHOT.jar EXPOSE 8080 diff --git a/microservice-demo/microservice-demo-eureka-server/Dockerfile b/microservice-demo/microservice-demo-eureka-server/Dockerfile index 3dcf219..0940fa5 100644 --- a/microservice-demo/microservice-demo-eureka-server/Dockerfile +++ b/microservice-demo/microservice-demo-eureka-server/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-eureka-server-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx400m -Xms400m -jar microservice-demo-eureka-server-0.0.1-SNAPSHOT.jar EXPOSE 8761 diff --git a/microservice-demo/microservice-demo-order/Dockerfile b/microservice-demo/microservice-demo-order/Dockerfile index 49ca93f..0670130 100644 --- a/microservice-demo/microservice-demo-order/Dockerfile +++ b/microservice-demo/microservice-demo-order/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-order-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx400m -Xms400m -jar microservice-demo-order-0.0.1-SNAPSHOT.jar EXPOSE 8080 diff --git a/microservice-demo/microservice-demo-turbine-server/Dockerfile b/microservice-demo/microservice-demo-turbine-server/Dockerfile index 434dfcf..0d7de5e 100644 --- a/microservice-demo/microservice-demo-turbine-server/Dockerfile +++ b/microservice-demo/microservice-demo-turbine-server/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-turbine-server-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx400m -Xms400m -jar microservice-demo-turbine-server-0.0.1-SNAPSHOT.jar EXPOSE 8989 diff --git a/microservice-demo/microservice-demo-zuul-server/Dockerfile b/microservice-demo/microservice-demo-zuul-server/Dockerfile index e8ab78e..f7466dc 100644 --- a/microservice-demo/microservice-demo-zuul-server/Dockerfile +++ b/microservice-demo/microservice-demo-zuul-server/Dockerfile @@ -1,4 +1,4 @@ -FROM ewolff/docker-java +FROM openjdk:10.0.2-jre-slim COPY target/microservice-demo-zuul-server-0.0.1-SNAPSHOT.jar . CMD /usr/bin/java -Xmx600m -Xms600m -jar microservice-demo-zuul-server-0.0.1-SNAPSHOT.jar EXPOSE 8080