Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.07 KB

README.md

File metadata and controls

43 lines (29 loc) · 2.07 KB

Docker images of Java 7/8/9 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.

To use this image, you must accept the Oracle Binary Code License Agreement for Java SE.

Docker Tags

sgrio/java-oracle provides several tagged images:

  • Default

    • latest: pointed to sgrio/java-oracle:server_jre_9
  • Java 9

    • server_jre_9: based on Oracle Java SE Server Runtime Environment 9.0.4+11
    • jre_9: based on Oracle Java SE Runtime Environment 9.0.4+11
    • jdk_9: based on Oracle Java SE Development Kit 9.0.4+11
  • Java 8

    • server_jre_8: based on Oracle Java SE Server Runtime Environment 8 update 162 build 12
    • jre_8: based on Oracle Java SE Runtime Environment 8 update 162 build 12
    • jdk_8: based on Oracle Java SE Development Kit 8 update 162 build 12
  • 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. Download automated build from public Docker Hub: docker pull sgrio/java-oracle

Usage

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