aboutsummaryrefslogtreecommitdiff
path: root/docker/provision/jdk/java-12.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/provision/jdk/java-12.sh')
-rw-r--r--docker/provision/jdk/java-12.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/provision/jdk/java-12.sh b/docker/provision/jdk/java-12.sh
new file mode 100644
index 00000000..6598d56c
--- /dev/null
+++ b/docker/provision/jdk/java-12.sh
@@ -0,0 +1,4 @@
+apt-get update && apt-get install -y wget
+wget https://github.com/AdoptOpenJDK/openjdk12-binaries/releases/download/jdk-12.0.2%2B10/OpenJDK12U-jdk_x64_linux_hotspot_12.0.2_10.tar.gz -O jdk.tar.gz
+tar -xzf jdk.tar.gz -C /opt/
+mv /opt/jdk-12.0.2+10 /opt/jdk \ No newline at end of file