rcruzper / openjdk

:whale: Base image to execute JVM apps focused on Spring Boot.

Home Page:https://hub.docker.com/r/rcruzper/openjdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supported tags and respective Dockerfile links

What is this image?

Base image to execute JVM applications focused on Spring Boot applications. 8-jre is based on openjdk:8-jre-alpine 10-jre is based on adoptopenjdk/openjdk10-openj9:alpine-slim

How to use this image

This image adds an entrypoint.sh that allows the execution of java applications as user java:java and PID 1.

Example of a Dockerfile using this base image:

FROM image:tag

COPY yourapp.jar .

ENTRYPOINT ["./entrypoint.sh", "yourapp.jar"]

Environment Variables

The following environment variables can be set to tune java execution.

JAVA_AGENT

e.g., --java_agent:/etc/agent/newrelic.jar (loaded as a volume)

JAVA_OPTS

e.g., --Xmx32m -Xss256k

Extensions for Java 8

About

:whale: Base image to execute JVM apps focused on Spring Boot.

https://hub.docker.com/r/rcruzper/openjdk

License:MIT License


Languages

Language:Shell 74.3%Language:Dockerfile 25.7%