Sign inSign up

insurit/jdk

By insurit

•Updated about 8 years ago

java image, based on openjdk 8 with debian 9 slim

Image
0

10K+

insurit/jdk repository overview

⁠Quick reference

⁠What is insurit/jdk?

Jdk is a base image of openjdk java based on alpine linux, with updated ca-certificates and curl.

⁠How to use this image

⁠as a base to build images

A simple Dockerfile can be used to generate a new image that includes the necessary content

FROM insurit/jdk
COPY some-app.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "app.jar"]

⁠getting a shell

$ docker run -it --rm insurit/jdk /bin/ash

To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the alpine image description⁠ for examples of how to install packages if you are unfamiliar).

Tag summary

Content type

Image

Digest

Size

89.7 MB

Last updated

about 8 years ago

docker pull insurit/jdk