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 22 run
cd ../OracleOpenJDK/22
docker build -t oracle/openjdk:22 .
This command is already scripted in build.sh
so you can alternatively run:
bash build.sh
The Oracle Java images for OpenJDK 22 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.