Skip to content

How to building native image for ARM  #1443

Description

I would like to build GraalVM native image for ARM architecture from my AMD machine.
It such feature currently supported by native-packager ?

As for now I have tried to use docker image with hash in GraalVMNativeImagePlugin.generateContainerBuildImage() what should allow me to pull ARM based docker image.

Ex:
GraalVMNativeImagePlugin.generateContainerBuildImage("ghcr.io/graalvm/graalvm-ce:latest@sha256:94a029ea80df5d66e5f49d30a1a4348b654e2cb8ccc7a26ec209691943a2ee8e")

Unfortunately it results in error Error response from daemon: build tag cannot contain a digest

Information

  • What sbt-native-packager are you using -> 1.8.1
  • What sbt version -> 1.5.2
  • What is your build system -> MacOs AMD64
  • What package are you building -> docker
  • What version has your build tool -> set
  • What is your target system -> any with ARM base CPU

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions