docker: use openjdk for java9

This commit is contained in:
Roel Spilker committed 2018-05-01 17:53:05 +02:00
1 parent 7d58127360
commit 1230d449b4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
apt-get update && apt-get install -y wget
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz -O jdk.tar.gz
wget https://download.java.net/java/GA/jdk9/9.0.4/binaries/openjdk-9.0.4_linux-x64_bin.tar.gz -O jdk.tar.gz
tar -xzf jdk.tar.gz -C /opt/
mv /opt/jdk-9.0.4 /opt/jdk
+1 -1
View File
@@ -15,7 +15,7 @@ can download a specific version by adding `--build-arg lombokjar=lombok-<major.m
The jdk version to be used. Supported values:
- `10` (default)
- `9` (currently broken because the download is no longer available)
- `9` (OpenJDK)
- `8`
The version is also accessible in `JDK_VERSION`.