[docker] use AdoptOpenJdk for all java releases, and add the latest version for all supported build systems

This commit is contained in:
Roel Spilker committed 2019-08-26 23:49:22 +02:00
1 parent ed3c8a67e2
commit 7bf70ed638
22 files changed
+204 -58

No files matched your search

+4 -6
View File
@@ -1,6 +1,4 @@
apt-get update && apt-get install -y software-properties-common
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
add-apt-repository -y ppa:webupd8team/java
apt-get update && apt-get install -y oracle-java8-installer
mv /usr/lib/jvm/java-8-oracle /opt/jdk
apt-get update && apt-get install -y wget
wget https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz -O jdk.tar.gz
tar -xzf jdk.tar.gz -C /opt/
mv /opt/jdk8u222-b10 /opt/jdk