Public Repository

Last pushed: a month ago
Short Description
java image, based on openjdk and alpine
Full Description

Supported tags and respective Dockerfile links

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).

Docker Pull Command
Owner
insurit

Comments (0)