Skip to content

io-sgr/docker-java-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ca1ecb · Feb 25, 2021

History

57 Commits
Feb 25, 2021
Feb 25, 2021
Feb 25, 2021
Nov 27, 2017
Apr 26, 2017
Feb 25, 2021
Nov 2, 2020

Repository files navigation

Customized Docker images of Java 8/11/14/15

Branches

  • Active branches:
    • master - Latest Java, currently version 15.0.2
  • Inactive branches:
    • java11 - Java 11
    • java8 - Java 8
  • Deprecated:
    • java14
    • java13
    • java12
    • java10
    • java9
    • java7

Build Images

  1. Install Docker.

  2. Run docker build -t <image_name:tag> ./<os>/jdk/, you can also use your favorite image and tag name.

  3. Test the image you built, docker run -it --rm <image_name:tag> java -version.

Docker Tags

sgrio/java provides several tagged images:

  • Default
    • latest: pointed to sgrio/java:latest_alpine
    • latest_alpine: pointed to sgrio/java:jdk_15_alpine
    • latest_centos: pointed to sgrio/java:jdk_15_centos
    • latest_ubuntu: pointed to sgrio/java:jdk_15_ubuntu
  • Java 15
    • jdk_15: pointed to jdk_15_alpine
    • jdk_15_alpine: Oracle Java SE Development Kit 15.0.2 build 9 on top of Alpine Linux
    • jdk_15_centos: Oracle Java SE Development Kit 15.0.2 build 9 on top of CentOS
    • jdk_15_ubuntu: Oracle Java SE Development Kit 15.0.2 build 9 on top of Ubuntu
  • Java 11
    • jdk_11: pointed to jdk_11_alpine
    • jdk_11_alpine: Oracle Java SE Development Kit 11.0.2 build 9 on top of Alpine Linux
    • jdk_11_centos: Oracle Java SE Development Kit 11.0.2 build 9 on top of CentOS
    • jdk_11_ubuntu: Oracle Java SE Development Kit 11.0.2 build 9 on top of Ubuntu
  • Java 8
    • server_jre_8: pointed to sgrio/java:server_jre_8_alpine
    • server_jre_8_alpine: Oracle Java SE Server Runtime Environment 8 update 202 build 08 on top of Alpine Linux
    • server_jre_8_centos: Oracle Java SE Server Runtime Environment 8 update 202 build 08 on top of CentOS
    • server_jre_8_ubuntu: Oracle Java SE Server Runtime Environment 8 update 202 build 08 on top of Ubuntu
    • jre_8: pointed to sgrio/java:jre_8_alpine
    • jre_8_alpine: Oracle Java SE Runtime Environment 8 update 202 build 08 on top of Alpine Linux
    • jre_8_centos: Oracle Java SE Runtime Environment 8 update 202 build 08 on top of CentOS
    • jre_8_ubuntu: Oracle Java SE Runtime Environment 8 update 202 build 08 on top of Ubuntu
    • jdk_8: pointed to sgrio/java:jdk_8_alpine
    • jdk_8_alpine: Oracle Java SE Development Kit 8 update 202 build 08 on top of Alpine Linux
    • jdk_8_centos: Oracle Java SE Development Kit 8 update 202 build 08 on top of CentOS
    • jdk_8_ubuntu: Oracle Java SE Development Kit 8 update 202 build 08 on top of Ubuntu