Skip to content

Commit

Permalink
Update Docker container to Java 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Eberhard Wolff committed Jan 28, 2019
1 parent e51331a commit c3f5ca0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion microservice-demo/microservice-demo-catalog/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion microservice-demo/microservice-demo-customer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion microservice-demo/microservice-demo-order/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion microservice-demo/microservice-demo-zuul-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c3f5ca0

Please sign in to comment.