Closed senia-psm closed 2 years ago
sbt graalvm-native-image:packageBin generates artifacts in target/graalvm-native-image.
sbt graalvm-native-image:packageBin
target/graalvm-native-image
GraalVM native-image output should be
native-image
Produced artifacts: /opt/graalvm/example (executable) /opt/graalvm/example.build_artifacts.txt
sbt graalvm-native-image:packageBin generates no artifacts in target/graalvm-native-image.
GraalVM native-image is
Produced artifacts: /example (executable) /example.build_artifacts.txt
GraalVMNativeImage / containerBuildImage := Some(s"ghcr.io/graalvm/native-image:ol8-java17-22.0.0.2")
1.9.7
1.6.2
5.15.11
"--workdir", "/opt/graalvm"
docker run
graalVMNativeImageDockerOptions
Expected behaviour
sbt graalvm-native-image:packageBin
generates artifacts intarget/graalvm-native-image
.GraalVM
native-image
output should beActual behaviour
sbt graalvm-native-image:packageBin
generates no artifacts intarget/graalvm-native-image
.GraalVM
native-image
isGraalVM docker image
GraalVMNativeImage / containerBuildImage := Some(s"ghcr.io/graalvm/native-image:ol8-java17-22.0.0.2")
Information
1.9.7
1.6.2
5.15.11
)Possible solutions
"--workdir", "/opt/graalvm"
todocker run
argumentsgraalVMNativeImageDockerOptions
for user to be able to specify such options.