-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extensions (quarkus-container-image-buildpack) : Not able to run container image built using BuildPacks extension #40591
Comments
cc @BarDweller |
The recommended builder will eventually be I'm working on the changes to update the platform level, but they are not in quarkus yet. Until then, the default Paketo builder
|
Describe the bug
I was trying out Quarkus BuildPacks extension for investigation related to eclipse-jkube/jkube#2460
When I try to build image using buildpacks extension, I'm able to built the image but I'm not able to run the image generated using this builder image. I get this error when I run the image:
I noticed that extension uses
paketobuildpacks/builder:base
as default builder image. I tried changing the builder image with this propertyquarkus.buildpack.jvm-builder-image
and these values but none of them worked out :gcr.io/paketo-buildpacks/quarkus:0.2.2
codejive/buildpacks-quarkus-builder:jvm
Is there something that I might be missing? Is there any official community recommended BuildPack builder image for Quarkus? I found https://github.com/quarkusio/quarkus-buildpacks but it looks like WIP effort.
Expected behavior
Image built using BuildPacks build extension should be runnable via docker.
Actual behavior
Image Built using buildpacks is not running as expected. Is it okay to use
paketobuildpacks/builder:base
as default builder image ? It doesn't seem to be producing correct image.How to Reproduce?
Clone this reproducer project : https://github.com/rohankanojia-forks/quarkus-buildpacks-builder-image-reproducer
gradle build -Dquarkus.container-image.build=true
docker run
Output of
uname -a
orver
Linux fedora 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
Output of
java -version
java version "17.0.3.1" 2022-04-22 LTS Java(TM) SE Runtime Environment (build 17.0.3.1+2-LTS-6) Java HotSpot(TM) 64-Bit Server VM (build 17.0.3.1+2-LTS-6, mixed mode, sharing)
Quarkus version or git rev
3.10.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.6
Additional information
No response
The text was updated successfully, but these errors were encountered: