aboutsummaryrefslogtreecommitdiff
path: root/docker/provision/jdk
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-10-30 00:50:10 +0100
committerRoel Spilker <r.spilker@gmail.com>2018-10-30 00:50:24 +0100
commitf5b106971a6e27b2d97cbda250b7e79d8561fab5 (patch)
treee4bc39a65cb761daa031e2d697d92751c0ca087d /docker/provision/jdk
parent03365378e91414a5a475cb234ca86ef2697ce9a9 (diff)
downloadlombok-f5b106971a6e27b2d97cbda250b7e79d8561fab5.tar.gz
lombok-f5b106971a6e27b2d97cbda250b7e79d8561fab5.tar.bz2
lombok-f5b106971a6e27b2d97cbda250b7e79d8561fab5.zip
add jdk11 to docker builds
Diffstat (limited to 'docker/provision/jdk')
-rwxr-xr-xdocker/provision/jdk/java-10.sh4
-rw-r--r--docker/provision/jdk/java-11.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/docker/provision/jdk/java-10.sh b/docker/provision/jdk/java-10.sh
index 10790952..4cf75f60 100755
--- a/docker/provision/jdk/java-10.sh
+++ b/docker/provision/jdk/java-10.sh
@@ -1,4 +1,4 @@
apt-get update && apt-get install -y wget
-wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/10.0.1+10/fb4372174a714e6b8c52526dc134031e/jdk-10.0.1_linux-x64_bin.tar.gz -O jdk.tar.gz
+wget https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz -O jdk.tar.gz
tar -xzf jdk.tar.gz -C /opt/
-mv /opt/jdk-10.0.1 /opt/jdk
+mv /opt/jdk-10.0.2 /opt/jdk
diff --git a/docker/provision/jdk/java-11.sh b/docker/provision/jdk/java-11.sh
new file mode 100644
index 00000000..0d43bbca
--- /dev/null
+++ b/docker/provision/jdk/java-11.sh
@@ -0,0 +1,4 @@
+apt-get update && apt-get install -y wget
+wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -O jdk.tar.gz
+tar -xzf jdk.tar.gz -C /opt/
+mv /opt/jdk-11.0.1 /opt/jdk