aboutsummaryrefslogtreecommitdiff
path: root/docker/provision/jdk/java-9.sh
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-11-28 23:37:34 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-11-28 23:37:34 +0100
commit1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c (patch)
tree09edd97918d9197056757fba67a712b6b5acc284 /docker/provision/jdk/java-9.sh
parent192ce9bc16e7d49533ba6ce12fc570c2bcfab550 (diff)
downloadlombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.tar.gz
lombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.tar.bz2
lombok-1f7b8c3d2c5dc1afc59faaedee94abeefcffec3c.zip
add ant Dockerfile, use jdk major version numbers instead
Diffstat (limited to 'docker/provision/jdk/java-9.sh')
-rw-r--r--docker/provision/jdk/java-9.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/provision/jdk/java-9.sh b/docker/provision/jdk/java-9.sh
new file mode 100644
index 00000000..2023ae39
--- /dev/null
+++ b/docker/provision/jdk/java-9.sh
@@ -0,0 +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.1+11/jdk-9.0.1_linux-x64_bin.tar.gz -O jdk.tar.gz
+tar -xzf jdk.tar.gz -C /opt/
+mv /opt/jdk-9.0.1 /opt/jdk