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.
Navigate to the folder containing the Dockerfile and run docker build
, tagging the image with the version number:
e.g. for OpenJDK 19 run
$ cd ../OracleOpenJDK/19
$ docker build -t oracle/openjdk:19 .
This command is already scripted in build.sh so you can alternatively run:
$ bash build.sh
The Oracle Java images for OpenJDK 19 uses oraclelinux:8
as the default parent image.
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.