From 8562c43b36e955a11ac7c2acd92ad803813e7f6a Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 8 Feb 2021 20:53:28 +0100 Subject: [PATCH] Update the java version that is used in the docker file (#11007) Motivation: Jabba does not contain version 1.8 anymore Modifications: Use some java version that exists Result: Builder the docker image from scratch work again --- docker/Dockerfile.centos6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile.centos6 b/docker/Dockerfile.centos6 index becd8f109d..5544483076 100644 --- a/docker/Dockerfile.centos6 +++ b/docker/Dockerfile.centos6 @@ -18,7 +18,7 @@ RUN yum install -y \ tar \ wget -ARG java_version=1.8 +ARG java_version=adopt@1.8.0-272 ENV JAVA_VERSION $java_version # installing java with jabba RUN curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | JABBA_COMMAND="install $JAVA_VERSION -o /jdk" bash