Skip to content

Add GraalVM native-image support via tracing agent#264

Open
stalep wants to merge 1 commit intoHyperfoil:masterfrom
stalep:native
Open

Add GraalVM native-image support via tracing agent#264
stalep wants to merge 1 commit intoHyperfoil:masterfrom
stalep:native

Conversation

@stalep
Copy link
Member

@stalep stalep commented Feb 24, 2026

Generate native-image metadata (reflect, resource, jni, proxy, serialization configs) using the GraalVM tracing agent and install them at the standard META-INF/native-image auto-discovery location.

Update polyglot version from 24.0.1 to 24.1.2 to match GraalVM CE 23.0.2, configure runtime initialization for SSHD/BouncyCastle/Vert.x classes, and use DefaultTruffleRuntime to avoid engine pre-init issues.

@stalep stalep force-pushed the native branch 2 times, most recently from df8bf94 to 4d38a51 Compare February 24, 2026 16:03
},
{
"name": "[Lcom.github.dockerjava.api.model.VolumesFrom;"
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to build a runnable native image without any of the com.github.dockerjava entries. Removing them reduced the native image size. I think it would be good if our native image configuration represented a minimal requirement to produce a viable native image and not a set that includes unnecessary dependencies.

Generate native-image metadata (reflect, resource, jni, proxy,
serialization configs) using the GraalVM tracing agent and install
them at the standard META-INF/native-image auto-discovery location.

Update polyglot version from 24.0.1 to 24.1.2 to match GraalVM CE
23.0.2, configure runtime initialization for SSHD/BouncyCastle/Vert.x
classes, and use DefaultTruffleRuntime to avoid engine pre-init issues.

Adds NativeSshIT using @QuarkusMainIntegrationTest to verify SSH crypto
works correctly in the native binary. Tests RSA, ED25519, and passphrase-
protected key connections against a TestContainers SSH server.
@stalep
Copy link
Member Author

stalep commented Mar 6, 2026

removed some entries that wasn't needed @willr3

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants