Quarkus Native Build and Container Skill for Codex
Build and test a Quarkus native executable, diagnose reflection and resource issues, and choose a local or containerized compiler path.
中文Setup for Codex
Use Codex in an existing Quarkus project with a compatible JDK and build wrapper. Native compilation needs a matching Mandrel or GraalVM, or Docker/Podman for the container build.
- This Awesome Copilot skill can be adapted manually to Codex. Copy the pinned skills/quarkus-native-and-container directory into the project's .agents/skills directory.
- Open the project in Codex and select $quarkus-native-and-container. Keep the references that ship with the skill.
Example task
In a scratch Maven Quarkus project with a /hello resource and a passing JVM test, use $quarkus-native-and-container to run `./mvnw package -Dnative -Dquarkus.native.container-build=true`. Check that target contains a runner and try the /hello request on a compatible Linux runtime.Expected result
The build produces a native runner. When started on a compatible runtime, /hello returns the same text as the JVM version.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Can Codex build a Quarkus native app without a local GraalVM install?
A Docker or Podman container build can use a matching Mandrel builder image. The resulting binary runs on the operating system and architecture it was compiled for.