225 questions
1
vote
0
answers
42
views
quarkus build fails with 401 Unauthorized at registry-1.docker.io despite successful docker login
I can docker push a local image to dockerhub just fine, but quarkus build fails with:
...
Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/...
0
votes
0
answers
51
views
Gradle jibBuildTar error: java.nio.file.NoSuchFileException: component\docker-images\build\jib-image.tar
I am working on a project that builds Java submodules and creates docker containers using Jib for some of the submodules.
The build.gradle script works perfectly on Mac. But it fails on Windows.
Here ...
1
vote
1
answer
116
views
skaffold destroys umlauts, Google Cloud Code breaks
I have the following problem with skaffold v2.13.2 on Windows 10:
skaffold scrambles the Log output of the build. It does not matter whether this is the standard jib build, Maven or just
echo "...
0
votes
1
answer
150
views
Quarkus JIB generate image also with build:false
I'm using Quarkus 3.18 and i noticed strange behaver using Jib.
Using this configuration i'm expected to not build an image..
quarkus.container-image.builder = jib
quarkus.container-image.build = ...
1
vote
0
answers
78
views
Jib Maven plugin not correcly authentication in Gitlab CI / CD
We want to create a docker image of our Java 21 project using jib maven-plugin and pushing it to a container registry.
We have two projects in Gitlab. One is ourApp-registry (where the container ...
0
votes
0
answers
147
views
Creating directories for */.git failed
I used JGit library for cloning and pulling repository in my app.
Git clone code:
Git.cloneRepository()
.setURI(remoteURL)
.setDirectory(repoDir)
...
2
votes
1
answer
88
views
Stop packaging application-local properties in Docker image
I have a Spring Boot application that includes several application-XXX.properties profiles. When I build Docker image using jib, I notice that all these properties files are packaged in the image in /...
5
votes
4
answers
5k
views
Google Jib throws UnknownManifestFormatException: Unknown mediaType: application/vnd.oci.image.index.v1+json when building the application
Docker: 27.1.2
Java: 17.0.11
Maven: 3.8.6
Jib: 3.2.1
OS: Ubuntu 22.04.4
I am using a Jhipster Spring application. Until now, my application has been built and running without any problems. But ...
1
vote
0
answers
433
views
Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.4.3:build (default) on project korfballteamapi: 416 Requested Range Not Satisfiable
I'm trying to containerize my spring boot application which is a basic spring API that hooks up to a Postgres database. I'm having issues with this process I'm currently using jib to containerize my ...
1
vote
0
answers
69
views
Jib Gradle plugin module path v class path?
How does the Job Gradle plugin decide whether to place a particular JAR dependency to the -module-path vs -classpath when running the java executable. Can this be explicitly controlled/specified?
0
votes
1
answer
168
views
maven jib:build authentication
I have pipelines setup in ADO that build, containerize apps, push to acr and then deploy to k8s. This works fine but I want to use jib instead of having separate tasks and take advantage of the ...
0
votes
1
answer
625
views
Quarkus build requires docker to be started in spite of Jib-presense
I'm pretty confused, trying to understand the logic how Quarkus container build works.
So what I do have:
Qaurkus 3.11.1.
quarkus-container-image-jib
It my understanding as it is mentioned here Jib ...
1
vote
1
answer
206
views
Create jib container image in compile phase, and pushing the same image in the deploy phase
I am building a container image using maven Jib plugin, and it is building fine. I can push it to repository as well. But I am having an issue in figuring iut how to build the image on compile phase, ...
0
votes
1
answer
598
views
How to specify multiple jvm arguments when building a docker image with jib?
I try to build my Quarkus app with jib using the following properties:
quarkus.jib.base-jvm-image=registry.access.redhat.com/ubi8/openjdk-17:1.19-1
quarkus.jib.jvm-arguments=-Djava.net....
3
votes
1
answer
535
views
change GC in quarkus jib build docker container
How can the default GC be changed in quarkus docker image using jib as building engine?
I have tried with settings in application.yaml but got duplicate gc defined error as using the following ...