File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ ext.expansions = { oss, local ->
2323 ' build_date' : project. buildDate,
2424 ' elasticsearch' : elasticsearch,
2525 ' git_revision' : project. gitRevision,
26- ' jdkUrl' : ' https://download.java.net/java/GA/jdk13/5b8a42f3905b406298b72d750b6919f6/33/GPL/openjdk-13_linux-x64_bin .tar.gz' ,
27- ' jdkVersion' : ' 13' ,
26+ ' jdkUrl' : ' https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13%2B33/OpenJDK13U-jdk_x64_linux_hotspot_13_33 .tar.gz' ,
27+ ' jdkVersion' : ' 13+33 ' ,
2828 ' license' : oss ? ' Apache-2.0' : ' Elastic-License' ,
2929 ' source_elasticsearch' : local ? " COPY $elasticsearch /opt/" : " RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/${ elasticsearch} && cd -" ,
3030 ' version' : VersionProperties . elasticsearch
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ FROM centos:7 AS builder
1616ENV PATH /usr/share/elasticsearch/bin:$PATH
1717ENV JAVA_HOME /opt/jdk-${jdkVersion}
1818
19- RUN curl --retry 8 -s ${jdkUrl} | tar -C /opt -zxf -
19+ RUN curl -L - -retry 8 -s ${jdkUrl} | tar -C /opt -zxf -
2020
2121# Replace OpenJDK's built-in CA certificate keystore with the one from the OS
2222# vendor. The latter is superior in several ways.
You can’t perform that action at this time.
0 commit comments