Questions tagged [jib]

Jib is a container image builder that handles all the steps of packaging your application into a container image.

Jib is a container image builder that handles all the steps of packaging your application into a container image. (https://github.com/GoogleContainerTools/jib)

213 questions
0
votes
1 answer

Cannot push Jib generated Docker image to ECR from Gitlab job

I currently have an issue to push the Docker image generated by Jib to ECR when the project is build in my CI. Locally everything works fine, the command mvn clean install -DskipTests -Pdocker, builds the image corresponding to the app and pushed it…
Fred
  • 101
  • 2
  • 10
0
votes
0 answers

How to silence logs in Java Image Builder (jib)

Using JIB in CI produces a mountain of logs because it prints progress, is there a simple way to turn them off? In my case I am using the Gradle plugin, but I suspect it is the same issue with the Maven plugin
Dave Ankin
  • 1,060
  • 2
  • 9
  • 20
0
votes
1 answer

Maven JIB: Creating Docker images, multiple executions defined in POM.xml?

I am creating docker images with the JIB module from google for maven. I configured my POM.XML. My goal Create two Images, one with a dynamic tag 1ef234f, and one static latest) My try As you can see, i tried to define two executions, however,…
emplo yee
  • 205
  • 2
  • 13
0
votes
1 answer

JIB file positioning with performance impact?

We build our Java application using jib-maven 3.2.1 in a Jenkins pipeline. In the configuration we have: target/libs
stwissel
  • 20,110
  • 6
  • 54
  • 101
0
votes
1 answer

Curl Critical Vulnerability - CVE-2022-32207

When I make a new commit, we have a pipeline which runs a security step using Trivy. Trivy found the following vulnerability: 2022-11-09T08:43:14.846Z INFO Vulnerability scanning is enabled 2022-11-09T08:43:14.846Z INFO Secret scanning…
ale.soft
  • 11
  • 2
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
1 answer

No plugin found for prefix '.to.image=fullstack' in the current project (Jib Maven Plugin)

I am trying to build a local Docker image with the Jib Maven plugin. I tried to run this command in my terminal (where I have my IntelliJ project): D:\GitHub\fullstack\fullstack> ./mvnw jib:dockerBuild -Djib.to.image=fullstack:v1 But I get this log…
noob234
  • 199
  • 2
  • 12
0
votes
1 answer

gradle task by environment using docker plugin, JIB

I have setup 2 gradle tasks, each for one environment (e.g. DEV and PROD) in build.gradle file. plugins { id "com.google.cloud.tools.jib" version "2.4.0" } version = 0.1 group = my.company jib { from { image = "openjdk:14-slim" …
user923499
  • 305
  • 1
  • 6
  • 18
0
votes
0 answers

Slow gitlab pipeline

I've configured a pipeline for maven/java/spring project using a local gitlab-runner in my Mac. My project is hosted on gitlab.com. At every commit, it always takes forever, because it downloads all the dependencies. Using the shared gitlab-runner…
Gfalco
  • 77
  • 3
  • 13
0
votes
1 answer

How to run a containerized java application from a GitHub action

I have a complex transformation that I need to apply whenever a particular file is pushed to GitHub. The transfomation is written in Kotlin (Java) and containerized using Jib. That all works ok. The problem is I don't know how to run the…
Martin
  • 21
  • 3
0
votes
0 answers

mvn clean compile jib:build failed

so i have been trying to deploy my spring microservices using jib and it has been really fustrating :( I have been jumping from one issue to another and right now i dont how to get out of this present situation... I have used openjdk 17 alphine and…
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
0 answers

Google Jib Core: Long time taken when a large subdirectory is used as a recursive layer

Environment: Jib version: 0.22 Build tool: Gradle OS: Linux Description of the issue: We are adding a large sub-directory as a layer (~234MB) Jib seems to build this layer locally even though it is cached locally and this operation takes around 25…
Sameer Naik
  • 1,326
  • 1
  • 13
  • 28
0
votes
1 answer

using jib for multiple project build

I have a multimodule project that I am trying to use gradle 7.5.1 and jib to build and deploy each service artifact to ECR. I have a ~/.docker/config.json file { "credsStore": "desktop" } { "credHelpers": { …
sonoerin
  • 5,015
  • 23
  • 75
  • 132
0
votes
1 answer

Getting a specific version of an image with Jib (Maven, Docker, testcontainers)

I'm trying to understand a comment that a colleague made. We're using testcontainers to create a fixture: import org.testcontainers.containers.GenericContainer; import org.testcontainers.utility.DockerImageName; public class SalesforceFixture…
Andrew Cheong
  • 29,362
  • 15
  • 90
  • 145