Steps to reproduce:
- Native build with
mvn clean install -Pnative
- Start the application in a docker container:
docker run -h runtime-hostname -it --rm --entrypoint=/target/native-hostname-1.0.0-SNAPSHOT-runner -v $PWD/target:/target -p 8080:8080 quay.io/quarkus/quarkus-micro-image:2.0
- Call the service with a GET at http://localhost:8080/hello
- Observe in the logging:
2024/06/27 14:16:12.086 buildtime-hostname Hello from host runtime-hostname