From eb8207e841c9c335f7d035876e5bfc6c0bff300a Mon Sep 17 00:00:00 2001 From: Leonardo Zanivan Date: Tue, 24 Jul 2018 18:08:52 -0300 Subject: [PATCH] Fix JDK 10 version due https://github.com/docker-library/openjdk/issues/217 --- src/main/docker/Dockerfile.fatjar | 2 +- src/main/docker/Dockerfile.glibc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/docker/Dockerfile.fatjar b/src/main/docker/Dockerfile.fatjar index ba820fc541e..19cad6cc69d 100644 --- a/src/main/docker/Dockerfile.fatjar +++ b/src/main/docker/Dockerfile.fatjar @@ -1,4 +1,4 @@ -FROM openjdk:10-jre-slim +FROM openjdk:10.0.1-jre-slim ADD spring-petclinic-2.0.0.BUILD-SNAPSHOT.jar app.jar diff --git a/src/main/docker/Dockerfile.glibc b/src/main/docker/Dockerfile.glibc index 7076c49cea1..87e29c2c632 100644 --- a/src/main/docker/Dockerfile.glibc +++ b/src/main/docker/Dockerfile.glibc @@ -1,4 +1,4 @@ -FROM openjdk:10 as builder +FROM openjdk:10.0.1 as builder RUN jlink \ --add-modules java.xml.bind,java.sql,java.naming,java.management,java.instrument,java.security.jgss \