Skip to content

Consider adding image based on ghcr.io/graalvm/jdk-community image #289

@yoohaemin

Description

@yoohaemin

There's the size difference between those two

$ docker pull ghcr.io/graalvm/graalvm-community:22.0.1
$ docker pull ghcr.io/graalvm/jdk-community:22.0.1
$ docker inspect -f "{{ .Size }}" ghcr.io/graalvm/graalvm-community:22.0.1 | awk '{printf "%.2f MB\n", $1 / (1024 * 1024)}'
1160.76 MB
$ docker inspect -f "{{ .Size }}" ghcr.io/graalvm/jdk-community:22.0.1 | awk '{printf "%.2f MB\n", $1 / (1024 * 1024)}'    
557.40 MB

From their images page: https://github.com/graalvm/container/pkgs/container/graalvm-community#graalvm-community-edition-container-images

jdk-community A size compact GraalVM Community Edition container image with the GraalVM JDK.
graalvm-community A GraalVM Community Edition container image.

I have a feeling that quite some usecases of docker-sbt GraalVM image will be simply for the JDK, without the native image or other language interop features, because the performance characteristics is different from normal HotSpot.

Will it be a good idea to also have another kind of image, or would it be too much? (Not suggesting we change the base image of existing graalvm ones, it probably will break other people's workflows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions