mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 02:17:52 +00:00
[docker] use AdoptOpenJdk for all java releases, and add the latest version for all supported build systems
This commit is contained in:
1 parent
ed3c8a67e2
commit
7bf70ed638
22 files changed
+204
-58
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user