- Active branches:
master
- Latest Java, currently version 11java8
- Java 8
- Deprecated:
java10
java9
java7
-
Install Docker.
-
Go to
<os>/jdk/
, rundocker build -t <image_name:tag> .
, you can use your favorite image and tag name. -
Test the image you built,
docker run -it --rm <image_name:tag> java -version
.
sgrio/java
provides several tagged images:
- Default
- Java 11
- 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 Linuxserver_jre_8_centos:
Oracle Java SE Server Runtime Environment 8 update 202 build 08
on top of CentOSserver_jre_8_ubuntu:
Oracle Java SE Server Runtime Environment 8 update 202 build 08
on top of Ubuntujre_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 Linuxjre_8_centos:
Oracle Java SE Runtime Environment 8 update 202 build 08
on top of CentOSjre_8_ubuntu:
Oracle Java SE Runtime Environment 8 update 202 build 08
on top of Ubuntujdk_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 Linuxjdk_8_centos:
Oracle Java SE Development Kit 8 update 202 build 08
on top of CentOSjdk_8_ubuntu:
Oracle Java SE Development Kit 8 update 202 build 08
on top of Ubuntu
The following tags are archived:
-
Java 10
server_jre_10
: based onOracle Java SE Server Runtime Environment 10.0.2 build 13
jre_10
: based onOracle Java SE Runtime Environment 10.0.2 build 13
jdk_10
: based onOracle Java SE Development Kit 10.0.2 build 13
-
Java 9
server_jre_9
: based onOracle Java SE Server Runtime Environment 9.0.4 build 11
jre_9
: based onOracle Java SE Runtime Environment 9.0.4 build 11
jdk_9
: based onOracle Java SE Development Kit 9.0.4 build 11
-
Java 7
server_jre_7
: based onOracle Java SE Server Runtime Environment 7 update 80 build 15
server_jre_7_unlimited
: based onOracle Java SE Server Runtime Environment 7 update 80 build 15
with JCEjre_7
: based onOracle Java SE Runtime Environment 7 update 80 build 15
jre_7_unlimited
: based onOracle Java SE Runtime Environment 7 update 80 build 15
with JCEjdk_7
: based onOracle Java SE Development Kit 7 update 80 build 15
jdk_7_unlimited
: based onOracle 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.