Questions tagged [maven-jib]
40 questions
1
vote
1 answer
Skaffold cannot pull image from Harbor
Expected behavior
Skaffold should pull the image from insecure Harbor registry running on HTTP. I have tried everything from these docs:
https://skaffold.dev/docs/environment/image-registries/#insecure-image-registries
but without success.
Actual…

Bit Wise
- 29
- 4
1
vote
2 answers
How to solve permissions for push to Google Artifact Registry from Cloud Build using jib-maven-plugin?
This problem seems to be all about my permissions in GCP, but attempting to set the right permissions so far has not worked.
I'm using com.google.cloud.tools:jib-maven-plugin to package a Spring Boot project into a container and push it to Google…

RogerParkinson
- 499
- 6
- 18
1
vote
0 answers
How to replace the base Java image in public base image with customized version
We are using base image of RedHat AMQ registry.access.redhat.com/jboss-amq-6/amq63-openshift which is a public base we cannot change. We use that image in jib maven plugin and did some changes to create an app.
However, the security department…

WesternGun
- 11,303
- 6
- 88
- 157
1
vote
1 answer
Building docker image for multi module project pushing jars to classpath
I am trying to create docker image for my project which is having multiple modules. The need is to build the image in such a way that the image should contain the child module jar in a given classpath. The structure of my project is
parent_project
…

Ashit_Kumar
- 601
- 2
- 10
- 28
1
vote
1 answer
How to create muttilayer image using maven jib plugin
I want to build an image of one of my microservice using maven jib plugin and as I know docker image can be created in multilayer architecture. I was doing this in Dockerfile manually.
But not sure how this can be achieved with maven jib…

keepmoving
- 1,813
- 8
- 34
- 74
1
vote
1 answer
How to build docker image for multi-module spring boot application using Jib
I have a Spring boot application which has many modules like error module, persistency, controllers etc like below
--Application
|
-- error module
|
-- controllers module
|
-- Persistancy module
|
-- .....
To build docker image for…

Santosh Hegde
- 3,420
- 10
- 35
- 51
0
votes
1 answer
How to push docker image from jenkins to GCP artifact repo
I wanted to push the docker image from Jenkins(Running on same GCP project) to GCP Artifact Repo. I am using the maven-jib plugin to build and push the image. Maven-jib-plugin supports the container registry(It's Deprecated) but no documentation for…

Gourav
- 17
- 6
0
votes
0 answers
How to use custom user with JIB
I'm trying to use the JIB(https://github.com/GoogleContainerTools/jib/) to build my docker image with a custom user.
I believe that I'm not able to create a new user with this library. If I simply define one, I get a message like that
unable to find…

user2888055
- 23
- 6
0
votes
0 answers
Print out docker image hash code on jib build
I'm building a docker image using jib and the jib-maven-plugin.
But something is rotten:
The maven build says, that the image is pushed:
Built and pushed image as ...
But there's no new image in the container registry.
So I would like print out…

Matthias M
- 12,906
- 17
- 87
- 116
0
votes
0 answers
Add fonts to image using Jib
We have Jib in out project instead of Docker containerization and now I have a task to add fonts to final image.
Commands that I need to reproduce with Jib and how it looks like with Docker:
RUN apk --no-cache add curl ttf-dejavu…

Артём Петров
- 49
- 1
- 6
0
votes
0 answers
jib maven plugin configuration settings in pom.xml aren't inherited from parent maven project
I have a parent project where it contains maven jib plugin configuration.
I'm creating an image of the child project (mapped to the parent project), the image is created however it's not inheriting the parent maven jib plugin configuration.
Kindly…

ziad-saade
- 11
- 4
0
votes
1 answer
How to fix Java 11 docker image security issues
I've been receiving security issues from Snyk's container scanning on my java 11 app. There are recommendations to update the packages inside but I can't seem to find how using Maven Jib. Below are what I've tested so…

RJB
- 95
- 3
- 15
0
votes
0 answers
Can we configure jib-maven-plugin to download a jar from maven to docker root folder
I am using jib-maven-plugin to build docker image of a maven spring boot application. I want to attach an agent jar to docker entry point run command. I am using the below configuration to attach the agent jar available in project build…

Sreenivas
- 63
- 3
- 10
0
votes
1 answer
Integrating Google jib with yGuard
Is there a way to obfuscate exploded/packaged output of jib-maven-plugin with yGuard (or some other obfuscator)?
I can think of a way using other tools such as exec-maven-plugin + jib cli.
Another possible way can be to devise a 3rd party…

downvoteit
- 588
- 2
- 7
- 12
0
votes
0 answers
Error while building docker image using jib
I am using mvnw -Pprod verify jib:dockerBuild to build the docker image for my jHipster project and I am getting:
Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.2.1:dockerBuild (default-cli)Build to Docker daemon failed, perhaps…

Rithu
- 79
- 1
- 6