cynegeirus / docker-oracle-jdk

This Docker image provides an isolated environment to run and test applications with a specific version of Oracle JDK. It supports Turkish localization and timezone settings, as well as basic development tools.

Repository from Github https://github.comcynegeirus/docker-oracle-jdkRepository from Github https://github.comcynegeirus/docker-oracle-jdk

Oracle JDK Docker Image (Ubuntu Based)

This Docker image provides an isolated environment to run and test applications with a specific version of Oracle JDK. It supports Turkish localization and timezone settings, as well as basic development tools.


πŸ“¦ Features

  • βœ… Oracle JDK (via .deb installer)
  • βœ… Ubuntu-based lightweight image
  • βœ… Turkish locale (tr_TR.UTF-8) and Europe/Istanbul timezone
  • βœ… Preinstalled CLI tools: curl, wget, htop, nano, ca-certificates
  • βœ… Customizable via build arguments

πŸ—οΈ Build the Image

docker-compose build

Or with docker build:

docker build \
  --build-arg JDK_VERSION=21 \
  --build-arg TIMEZONE=Europe/Istanbul \
  --build-arg LOCALE=tr_TR.UTF-8 \
  -t oracle-jdk:21 .

πŸš€ Run the Container

docker-compose up -d
docker exec -it oracle-jdk bash

πŸ›  Build Arguments

Argument Description Default
JDK_VERSION JDK .deb version to install 21
TIMEZONE Timezone to configure Europe/Istanbul
LOCALE Locale for language settings tr_TR.UTF-8

License

This project is licensed under the MIT License. See the license file for details.


Issues, Feature Requests or Support

Please use the Issue > New Issue button to submit issues, feature requests or support issues directly to me. You can also send an e-mail to akin.bicer@outlook.com.tr.

About

This Docker image provides an isolated environment to run and test applications with a specific version of Oracle JDK. It supports Turkish localization and timezone settings, as well as basic development tools.

License:MIT License


Languages

Language:Dockerfile 100.0%