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
This commit is contained in:
Norman Maurer 2021-02-08 20:53:28 +01:00 committed by GitHub
parent 411f76d3ad
commit 8562c43b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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