Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.98 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.98 KB

Oracle Java on Docker

This repository contains a sample Docker configuration to facilitate installation and environment setup for DevOps users. This project includes a Dockerfile for Server JRE 8 and for JDK 11 based on Oracle Linux.

Oracle Java Server JRE provides the features from Oracle Java JDK commonly required for server-side applications (i.e. Running a Java EE application server). For more information about Server JRE, visit the Understanding the Server JRE blog entry from the Java Product Management team.

Building the Java 11 (JDK) base image

Download JDK 11 .tar.gz file and drop it inside the folder ../OracleJava/java-11.

Build it using:

$ cd ../OracleJava/java-11
$ docker build -t oracle/jdk:11 .

Building the Java 8 (Server JRE) base image

Download Server JRE 8 .tar.gz file and drop it inside the folder ../OracleJava/java-8.

Build it using:

$ cd ../OracleJava/java-8
$ docker build -t oracle/serverjre:8 .

License

To download and run the Oracle JDK, regardless of inside or outside a Docker container, you must download the binary from the Oracle website and accept the license indicated on that page.

All scripts and files hosted in this project and GitHub docker/OracleJava repository, required to build the Docker images are, unless otherwise noted, released under the UPL 1.0 license.

Customer Support

We support JDK 8 (Server JRE) and JDK 11 when running on certified operating systems in a Docker container. For additional details on the JDK Certified System Configurations, please refer to the Oracle Java SE Certified System Configuration Pages.