aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-05-01 17:53:05 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-05-01 17:53:05 +0200
commit1230d449b4e0db48463ce379a1656be3cf499261 (patch)
treea60f551152906344d0cbdcb133743afdc25598b6
parent7d581273601cba888e0bb4ec53de5af05eb72c93 (diff)
downloadlombok-1230d449b4e0db48463ce379a1656be3cf499261.tar.gz
lombok-1230d449b4e0db48463ce379a1656be3cf499261.tar.bz2
lombok-1230d449b4e0db48463ce379a1656be3cf499261.zip
docker: use openjdk for java9
-rwxr-xr-xdocker/provision/jdk/java-9.sh2
-rw-r--r--docker/readme.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/provision/jdk/java-9.sh b/docker/provision/jdk/java-9.sh
index fd488dc8..483c1a28 100755
--- a/docker/provision/jdk/java-9.sh
+++ b/docker/provision/jdk/java-9.sh
@@ -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
diff --git a/docker/readme.md b/docker/readme.md
index a743e0c6..9939839d 100644
--- a/docker/readme.md
+++ b/docker/readme.md
@@ -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`.