Skip to content

Latest commit

 

History

History
 
 

OracleOpenJDK

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Oracle Java OpenJDK in Containers

This repository contains sample container configurations to facilitate installation and environment setup for DevOps users. This project includes Dockerfiles for Oracle OpenJDK based on Oracle Linux.

Building the Oracle Java OpenJDK base image

Navigate to the folder containing the Dockerfile and run docker build, tagging the image with the version number:

e.g. for OpenJDK 17 run

$ cd ../OracleOpenJDK/17
$ docker build -t oracle/openjdk:17 .

This command is already scripted in build.sh so you can alternatively run:

$ bash build.sh

Parent image OS version

The Oracle Java images for OpenJDK 17 uses oraclelinux:8 as the default parent image.

License

The OpenJDK compressed archive used by this Dockerfile is available under the GNU General Public License, version2, with the Classpath Exception, from the Oracle OpenJDK website. Oracle Linux is licensed under the Oracle Linux End-User License Agreement.

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