This repository contains Dockerfile of Java SE for Docker's automated build published to the public Docker Hub.
The default image is on top of Ubuntu, to use images based on Alpine Linux, add _alpine after the tag name.
To use this image, you must accept the Oracle Binary Code License Agreement for Java SE.
Docker Tags
hunkier/java-oracle provides several tagged images:
- Default
- Java 11
- Java 8
Docker Tags (Archived)
The following tags are archived:
-
Java 10
-
Java 9
server_jre_9: based onOracle Java SE Server Runtime Environment 9.0.4 build 11jre_9: based onOracle Java SE Runtime Environment 9.0.4 build 11jdk_9: based onOracle Java SE Development Kit 9.0.4 build 11
-
Java 7
server_jre_7: based onOracle Java SE Server Runtime Environment 7 update 80 build 15server_jre_7_unlimited: based onOracle Java SE Server Runtime Environment 7 update 80 build 15with JCEjre_7: based onOracle Java SE Runtime Environment 7 update 80 build 15jre_7_unlimited: based onOracle Java SE Runtime Environment 7 update 80 build 15with JCEjdk_7: based onOracle Java SE Development Kit 7 update 80 build 15jdk_7_unlimited: based onOracle Java SE Development Kit 7 update 80 build 15with JCE
-
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
- This is enabled by defualt in Java 9, and Java 8 updates later than 162.
Installation
-
Install Docker.
-
Pull image from public Docker Hub:
docker pull hunkier/java-oracle
Usage
docker run -it --rm hunkier/java-oracle java -version