Can't use Jib with Quarkus
See original GitHub issueI tried to use Jib Maven with Quarkus and it turned out not working at all.
Basically, Jib can’t find the Main class and can’t copy the dependency libs because all of them are provided
scope.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:29 (12 by maintainers)
Top Results From Across the Web
Container Images - Quarkus
The major benefit of using Jib with Quarkus is that all the dependencies (everything found under target/lib ) are cached in a different...
Read more >Container Creation Fails with Jib after upgrading to 2.7.0.Final
The whole process works fine when I change the Quarkus version from 2.7.0.Final to 2.6.3.Final. I am using jib to generate the image....
Read more >Containerizing your Microservice in Quarkus with Jib - Medium
Using Jib removes the complexity of writing docker files. ... This means it will be a minimal image and won't even contain any...
Read more >Can't push to Gitlab registry | Quarkus - Jib build
Hello everybody, I'm currently developing Quarkus applications and need therefore a CI Pipeline + Container Registry. The deploy token has all ...
Read more >Building Java containers with Jib - Google Cloud
This tutorial shows how to use Jib to build an optimal Java container and deploy to Cloud Run.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gunnarmorling @geoand @maxandersen @cmoulliard @OneCricketeer @sureshg @dgageot @saturnism @daggerok @sirAlexander @ScheerMT @dennisjagut @Tanmayshetty @krishnaarava @Tombar @jycr @DaHoC @yazidaqel @sdavids @xmlking @jabrena @mehmandarov @YacheLee
Although Quarkus added native Jib image building on their side a while ago, we still wanted to allow Jib build plugin users to containerize Quarkus apps. However, as mentioned above, we thought adding specialized code for every app framework and non-conventional feature requests into Jib plugins is not sustainable or maintainable in the long run. For this reason, we implemented the Jib extension framework which gives the user the power to tweak and extend Jib plugin workings.
With the new extension framework, now we enabled Quarkus support in Jib plugins through the release of Jib Quarkus Extensions (Maven / Gradle). Currently, the extensions only work for the default packaging mode (e.g., no support for uber-jar package type), but we should be able to add more support in the extensions in the future. Another point of supporting Quarkus through an extension is to attract more contributions from interested parties and the community, so we are more than welcome to have your contributions.
@davinkevin ultimately, our Jib Quarkus Extensions can be expanded to cover the
native-image
package type. Related, we will soon write another Jib extension to support a general native GraalVM (i.e., non-Quarkus) containerization.Closing the issue.
Or better yet, quarkus could use Jib-Core internally to package their container image!