This image adds OpenJDK to a base Centos Linux distribution.
The latest tag of this image is build using the last available Centos Docker image and the last available Oracle JDK. You can pull it with:
docker pull parrotstream/centos-openjdk
You can also find other images based on different OpenJDK releases, using different tags in the following form:
docker pull parrotstream/centos-openjdk:[openjdk-release]
For example, if you want a Centos with OpenJDK release 8 you can pull the image with:
docker pull parrotstream/centos-openjdk:8
Run with Docker Compose:
docker-compose run centos-openjdk java -version
Run with Docker run:
docker run parrotstream/centos-openjdk java -version
Available tags: