A Dockerfile for creating an OpenJDK image on top of the official CentOS distribution.
2.0K
A Dockerfile for creating an OpenJDK image on top of the official CentOS distribution (centos:latest).
Multiple tag exist for different versions of OpenJDK:
1.7.0-jre to build OpenJDK version 1.7 with JRE onlygit clone https://github.com/kadishmal/openjdk-centos.git
cd openjdk-centos
docker built -t lighthopper/openjdk-centos:1.7.0-jre .
In your Dockerfile at the very top specify:
FROM lighthopper/openjdk-centos:<tag>
Replace <tag> with any of the available tags.
MIT
Content type
Image
Digest
sha256:b6014a1ec…
Size
188.8 MB
Last updated
over 8 years ago
docker pull lighthopper/openjdk-centos