OpenJDK based on Alpine Linux with dumb-init running as unprivileged User
432

docker pull ellerbrock/alpine-openjdk
Base image is Alpine Linux which is a lightweight Distribution with a small surface area for security concerns, but with enough functionality for development and interactive debugging.
To prevent zombie reaping i run dumb-init as PID 1 which forwards signals to all processes running in the container.
To increase security the container runs as a unprivileged User.
In case you need to run for some reason stuff as root you can do this via docker run -it -u root ellerbrock/alpine-openjdk ....
These Settings are optional, if not set the default values will be used.
# Optional Configuration Parameter
ARG SERVICE_USER
ARG SERVICE_HOME
# Default Settings
ENV SERVICE_USER ${SERVICE_USER:-app}
ENV SERVICE_HOME ${SERVICE_HOME:-/home/${SERVICE_USER}}
Get the latest News about Web Development, Open Source, Tooling, Server & Security
Content type
Image
Digest
Size
69.6 MB
Last updated
almost 7 years ago
docker pull ellerbrock/alpine-openjdk