Skip to content
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

Please provide way to set jib as default builder for quarkus image build #41881

Open
weltonrodrigo opened this issue Jul 14, 2024 · 2 comments
Open
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) area/container-image kind/enhancement New feature or request

Comments

@weltonrodrigo
Copy link
Contributor

Description

Right now, quarkus image build will do a docker build even if quarkus.container-image.builder=jib is set in pom.xml or application.properties

See:

$ quarkus image build --verbose
/xxxxxxxxxx/mvnw -Dstyle.color=always -Dquarkus.container-image.builder=docker -DquarkusRegistryClient=true resources:resources

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< XXXXXXXXXXXX >-------------------------
[INFO] Building xxxxxxxxxx 1.0.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-cli) @ xxxxxxxxxx ---
[INFO] Copying 4 resources from src/main/resources to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.277 s
[INFO] Finished at: 2024-07-14T12:18:16-03:00
[INFO] ------------------------------------------------------------------------
/xxxxxxxxxx/mvnw -Dstyle.color=always -Dquarkus.container-image.builder=docker -DquarkusRegistryClient=true quarkus:image-build

If I use quarkus image build -Dquarkus.container-image.builder=jib it will make the jib image.

If there isn't already (and I'm missing something), please provide a way to make jib (or any other) the default container image build via pom.xml

Implementation ideas

No response

@weltonrodrigo weltonrodrigo added the kind/enhancement New feature or request label Jul 14, 2024
Copy link

quarkus-bot bot commented Jul 14, 2024

/cc @geoand (jib)

@geoand
Copy link
Contributor

geoand commented Jul 15, 2024

cc @iocanel

@geoand geoand added the area/cli Related to quarkus cli (not maven/gradle/etc.) label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) area/container-image kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants