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
1
vote
0 answers

Add self signed Java certificate with Google Jib

I have a Spring Boot Java app and I use Google Jib to create a docker image (I deploy the image locally for now) based on gcr.io/distroless/java:11. My Java app needs to access a HTTPS resource that has a self-signed certificate. Locally (without…
XII
  • 420
  • 4
  • 16
1
vote
3 answers

Using a jib for maven but non-Java application

I am in the process of creating a project and use Jib to create containers and push them to ECR. It is a multi-module maven project which has 3 sub-modules, 2 of them are standard java spring-boot project which is woking fine with Jib and the other…
Cyclops
  • 649
  • 3
  • 8
  • 33
1
vote
2 answers

Jib gradle plugin multimodule project ClassNotFoundException

I have multi-module gradle project and using Jib plugin for build docker image and push to registry. But, when I build image and try to run this image I get this exception: Error: Could not find or load main class Xmx512m Caused by:…
pronomy
  • 204
  • 4
  • 15
1
vote
1 answer

jib: Unauthorized but docker login works

I'm running in an issue with maven jib. I'm able to login on my private registry: $ docker login -p -u docker-registry-default.si-origin-cluster.t-systems.es Login Succeeded With maven I'm getting: [ERROR] Failed to…
Jordi
  • 20,868
  • 39
  • 149
  • 333
1
vote
2 answers

How can the jib maven plugin authenticate to docker hub and publish to ECR?

I've been using the jib-maven-plugin to build docker tarball images from a bamboo container instance which is then pushed to an ECR. I have the following server instance in ~/.m2/settings.xml which resides in the builder image:
Brett Ryan
  • 26,937
  • 30
  • 128
  • 163
1
vote
1 answer

Spring boot inside a docker don't load application.properties once the spring env profile to be used has been defined

I use Jib to generate and push to DockerHub a Spring Boot image mvn compile jib:build The pom contain references: src/main/resources true
BNT
  • 23
  • 2
  • 6
1
vote
1 answer

set linker in docker image made by jib java

Ok, I encountered linking problems while creating jib docker image. I copy the files i want into container jib { allowInsecureRegistries = true extraDirectories{ paths{ path{ from = file('jnetpcap/jib') …
1
vote
2 answers

Where does Spring Boot expect JSPs

I did this tutorial to migrate an old jsp application to spring boot. But instead of maven i used gradle. In IntelliJ Idea everythings works as expceted. Now i want to make a docker container of this application and therefore i used jib gradle…
cathixx
  • 111
  • 4
1
vote
1 answer

Is A docker image built by Spring Boot 2.3 better than the one by jib?

So far, I user Spring Boot 2.2 and use jib to build a docker image. But now, Spring Boot 2.3 released and the Release Notes says that Spring Boot 2.3 can build a Docker image with Paketo buildpack by default. Spring Boot 2.3 enhances Docker support…
fanfanta
  • 181
  • 14
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
1
vote
1 answer

Jenkins Pipeline : docker not found with Maven docker image

I have a Jenkins pipeline which is running fine but it depends upon JDK and maven installed tools. There were few instances in the past that these JDK and maven tool's name was changed(e.g. Maven 3.6.2 -> Maven 3.6.3 and it results in my pipeline…
Tarun Bharti
  • 185
  • 3
  • 17
1
vote
3 answers

Spring Boot DevTools being used inside docker container even after exclusion in gradle build

So we are using Spring boot to deliver our application. We use the Jib plugin to monitor create docker images and run them. We use gradle to build the project and there dev tools is identified as a developmentOnly dependency. Just as mentioned in…
Som Bhattacharyya
  • 3,972
  • 35
  • 54
1
vote
1 answer

JHipster Docker Build with dev,swagger,no-liquibase

I am attempting to run my JHipster Microservice application as a Docker image. I want to spin up a development container for testing. The application runs without Liquibase using the no-liquibase profile. I run the following command: mvnw package…
Steve Macleod
  • 45
  • 1
  • 9
1
vote
1 answer

Google Distroless Image for JDK 13

Has google published distroless image for JDK 13? If not, what's the best alternative to use for JDK 13?
ethan
  • 1,881
  • 2
  • 17
  • 31
1
vote
1 answer

Failure during offline execution of com.google.cloud.tools:jib-maven-plugin:1.4.0:dockerBuild plugin

How should I set up this maven plugin when there is no access to the online docker registry to force use local resources only? [ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:1.4.0:dockerBuild (default-cli) on project mental:…
Eljah
  • 4,188
  • 4
  • 41
  • 85