GitHub - hunkier/docker-java-oracle: Docker images of Java 7/8/9/10/11 provided by Oracle on top of Ubuntu

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 on Oracle Java SE Server Runtime Environment 9.0.4 build 11
    • jre_9: based on Oracle Java SE Runtime Environment 9.0.4 build 11
    • jdk_9: based on Oracle Java SE Development Kit 9.0.4 build 11
  • Java 7

    • server_jre_7: based on Oracle Java SE Server Runtime Environment 7 update 80 build 15
    • server_jre_7_unlimited: based on Oracle Java SE Server Runtime Environment 7 update 80 build 15 with JCE
    • jre_7: based on Oracle Java SE Runtime Environment 7 update 80 build 15
    • jre_7_unlimited: based on Oracle Java SE Runtime Environment 7 update 80 build 15 with JCE
    • jdk_7: based on Oracle Java SE Development Kit 7 update 80 build 15
    • jdk_7_unlimited: based on Oracle Java SE Development Kit 7 update 80 build 15 with 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

  1. Install Docker.

  2. Pull image from public Docker Hub: docker pull hunkier/java-oracle

Usage

docker run -it --rm hunkier/java-oracle java -version