master - Latest Java, currently version 15.0.1java11 - Java 11java8 - Java 8java14java13java12java10java9java7Install Docker.
Run docker build -t <image_name:tag> ./<os>/jdk/, you can also 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:
sgrio/java:server_jre_8_alpineOracle Java SE Server Runtime Environment 8 update 202 build 08 on top of Alpine LinuxOracle Java SE Server Runtime Environment 8 update 202 build 08 on top of CentOSOracle Java SE Server Runtime Environment 8 update 202 build 08 on top of Ubuntusgrio/java:jre_8_alpineOracle Java SE Runtime Environment 8 update 202 build 08 on top of Alpine LinuxOracle Java SE Runtime Environment 8 update 202 build 08 on top of CentOSOracle Java SE Runtime Environment 8 update 202 build 08 on top of Ubuntusgrio/java:jdk_8_alpineOracle Java SE Development Kit 8 update 202 build 08 on top of Alpine LinuxOracle Java SE Development Kit 8 update 202 build 08 on top of CentOSOracle Java SE Development Kit 8 update 202 build 08 on top of UbuntuContent type
Image
Digest
Size
188.1 MB
Last updated
over 5 years ago
docker pull sgrio/java