Skip to content

io-sgr/docker-java-oracle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customized Docker images of Java 7/8/9/10/11

Branches

  • Active branches:
    • master - Latest Java, currently version 11
    • java8 - Java 8
  • Deprecated:
    • java10
    • java9
    • java7

Build Images

  1. Install Docker.

  2. Go to <os>/jdk/, run docker build -t <image_name:tag> ., you can 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_ubuntu
    • latest_alpine: pointed to sgrio/java:jdk_11_alpine
    • latest_centos: pointed to sgrio/java:jdk_11_centos
    • latest_ubuntu: pointed to sgrio/java:jdk_11_ubuntu
  • Java 11
    • jdk_11: pointed to jdk_11_ubuntu
    • jdk_11_centos: Oracle Java SE Development Kit 11.0.2 build 9 on top of CentOS
    • jdk_11_alpine: Oracle Java SE Development Kit 11.0.2 build 9 on top of Alpine Linux
    • 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_ubuntu
    • 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_ubuntu
    • 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_ubuntu
    • 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

Docker Tags (Archived)

The following tags are archived:

  • Java 10

    • server_jre_10: based on Oracle Java SE Server Runtime Environment 10.0.2 build 13
    • jre_10: based on Oracle Java SE Runtime Environment 10.0.2 build 13
    • jdk_10: based on Oracle Java SE Development Kit 10.0.2 build 13
  • Java 9

    • server_jre_9: based on Oracle Java SE Server Runtime Environment 9.0.4 build 11
    • jre_9: based on Oracle Java SE Runtime Environment 9.0.4 build 11
    • jdk_9: based on Oracle Java SE Development Kit 9.0.4 build 11
  • Java 7

    • server_jre_7: based on Oracle Java SE Server Runtime Environment 7 update 80 build 15
    • server_jre_7_unlimited: based on Oracle Java SE Server Runtime Environment 7 update 80 build 15 with JCE
    • jre_7: based on Oracle Java SE Runtime Environment 7 update 80 build 15
    • jre_7_unlimited: based on Oracle Java SE Runtime Environment 7 update 80 build 15 with JCE
    • jdk_7: based on Oracle Java SE Development Kit 7 update 80 build 15
    • jdk_7_unlimited: based on Oracle Java SE Development Kit 7 update 80 build 15 with JCE
  • Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files

    • This is enabled by defualt in Java 9, and Java 8 updates later than 162.