aboutsummaryrefslogtreecommitdiff
path: root/docker/provision/jdk/java-10.sh
blob: 2fcffa60cb87a6b2a13a8fb61a9fd6b91cf4ea4e (plain)
1
2
3
4
apt-get update && apt-get install -y wget
wget --inet4-only -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/10+46/76eac37278c24557a3c4199677f19b62/jdk-10_linux-x64_bin.tar.gz -O jdk.tar.gz
tar -xzf jdk.tar.gz -C /opt
mv /opt/jdk-10 /opt/jdk