Helidon is a release of libraries for the Java programming language for writing microservices. This container image provides the essential development environment for Helidon applications. It is based on Rocky Linux 9 and includes the following tools:
maven:3.8 dnf moduleThe jmods double the image size, but are necessary for jlink custom runtime
creation.
Lastly, the image runs the helidon non-root user by default for security
reasons.
Example usage with creating a new Helidon project.
Firstly, run the container:
$ docker run --name helidon-dev-env --rm -it sourcemation/helidon:latest
Having a shell in this container, create and start your Helidon project:
$ helidon --version # returns version build date etc
$ helidon init --name my-helidon-project --package com.example --batch
$ cd my-helidon-project
$ helidon dev
Now you can access the application at http://localhost:8080/ with the
http://localhost:8080/simple-greet endpoint enabled (from the inside of the
container).
You can additionally customize your experience by mounting volumes to the container, using it with your IDE, and exposing ports to the host machine. For example:
$ podman run --name helidon-dev-env --rm -it -v $(pwd):/helidon/my-helidon-project -p 8080:8080 sourcemation/helidon:latest
This image uses the following environment variables:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
JAVA_HOME="/usr/lib/jvm/java-21"
By default, the image exposes the following ports:
Your contributions are valued! Feel free to suggest enhancements or request new images by opening an issue, or submit your own contributions via pull requests to the Sourcemation GitHub repository.
Disclaimer: The sourcemation/helidon image is not affiliated with Oracle,
Inc. The respective companies and organisations own the trademarks mentioned in
the offering. The sourcemation/helidon image is a separate project and is
maintained by Sourcemation.
A detailed risk analysis report of the image and its components can be found on the Sourcemation platform.
For more information, check out the Getting started with Helidon CLI page.
The base license for the solution (Helidon) is the Apache License, Version 2.0. The licenses for each component shipped as part of this image can be found on the image's appropriate Sourcemation entry.
Content type
Image
Digest
sha256:865bed9f5…
Size
470.2 MB
Last updated
3 days ago
docker pull sourcemation/helidon