Sign inSign up

trishantmaharjan/java

By trishantmaharjan

Updated 3 months ago

Repository to push java images

Image
0

250

trishantmaharjan/java repository overview

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.

Tag summary

Content type

Image

Digest

sha256:b0e20556a

Size

58.6 MB

Last updated

3 months ago

docker pull trishantmaharjan/java:25.0.3