Repository to push java images
250
This image is made using jre from java 17-temurin and dumb-init. It is made to be as slim and small, with the least vulnerabilities as possible while having the whole jre environment, for production usage. There is only one user in this image.
The quickest way to use this image is to run a jar file in it. FROM trishantmaharjan/java:17.0.16 WORKDIR /home/java WORKDIR mv test.jar . CMD ["Main"]
To test the image, you can run docker run --rm trishantmaharjan/java:17.0.16 --version. This will give you the version of java currently in the image.
Content type
Image
Digest
sha256:b0e20556a…
Size
58.6 MB
Last updated
3 months ago
docker pull trishantmaharjan/java:25.0.3