Skip to content

[maven-plugin] Ability to use the native-image from the docker image #761

@nielsbasjes

Description

@nielsbasjes

I write open source software and I would like others to be able to build my software as easily as possible.

With maven (and similar gradle) you automatically get the right versions of the build plugins needed to build the software.

At this time building a native image requires installing the right version of the native-image application.

Key thing is that a container image is already available with the same tool.

https://github.com/graalvm/container/pkgs/container/native-image-community

Describe the solution you'd like

I would like to have an option in the native image maven plugin (and I think adding the same to gradle makes sense too) where I can configure it to use a specific version of the native-image executable which is then run using the locally installed container runtime (i.e. docker).

The effect is that docker must be present and there is no longer a need to manually install the exact version of the native-image tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions