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
2 answers

Unable to push docker image to heroku registry

I'm unable to push a docker image to the heroku registry. I'm successfully logged in according to docker: ❯ docker login registry.heroku.com Authenticating with existing credentials... Login Succeeded After that I run mvn jib:build and I get some…
Jonas Geiregat
  • 5,214
  • 4
  • 41
  • 60
0
votes
1 answer

Creating docker image with Kotlin multimodule spring project

Hello @stackoverflow community, I have a Kotlin Spring Boot application with following structure . ├── build.gradle.kts ├── gradle │   └── wrapper │   ├── gradle-wrapper.jar │   └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├──…
Andrioshe
  • 83
  • 2
  • 9
0
votes
1 answer

Jib maven plugn is not able to push image from local to DockerHub

I have simple Spring Boot app. I tried to create an docker image of it using jib-maven plugin. But when I build this app its failing with 401 Unauthorized exception. But I am giving all the configurations correctly in logs I can see its been read…
springbootlearner
  • 1,220
  • 4
  • 26
  • 48
0
votes
0 answers

Grails 4 and Jib - Grails Views not included in Docker image

I created a new Grails 4.0.3 web app and added the Jib Gradle plugin to it. I can create the docker image using gradle jibBuildTar, load it into docker, and run it. Unfortunately, GSPs don't seem to get included in the image, so I run into the…
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
0
votes
1 answer

Using GoogleContainerTools/jib only to build without deploy?

I'd like to use jib but only for building an image and not deploying it to the cloud or dockerhub. Is it possible?
IsaacLevon
  • 2,260
  • 4
  • 41
  • 83
0
votes
1 answer

How to push images to GitHub Packages using GITHUB_TOKEN secret with Maven Jib plugin?

I want to push a Docker image built with Maven Jib plugin to GitHub Packages. I read that I can use the GITHUB_TOKEN secret for authentication in GitHub Packages. But I can't find a way to authenticate with a token in Jib documentation. I only see…
LEQADA
  • 1,913
  • 3
  • 22
  • 41
0
votes
2 answers

Can't get pod and service running with generated deployment and service descriptors

Following Ryan Baxter's Spring On Kubernetes workshop, I run into a problem I can't resolve. On the step of "Deploying To Kubernetes", after generating depoyment.yaml and services.yaml files, I run kubectl apply -f ./k8s and I get validation…
vic
  • 2,548
  • 9
  • 44
  • 74
0
votes
3 answers

Unauthorized error when build docker image with jib, using a custom base image

I've to create a docker image, starting from a distroless base image, with some custom files. I use JIB with maven on my spring boot project. I'm working on Windows 7 with Docker toolbox. this is the step than I do for now: 1) create Dockerfile with…
0
votes
1 answer

Maven JIB returns "CertPathValidatorException: signature check failed" inside arm32v7/adoptopenjdk docker container

I am using my raspberry pi 4 with Docker installed. I am trying to create a build container for my Java projects and let the build container create Docker images using Maven JIB. When I try this in an arm32v7/adoptopenjdk:13.0.1_9-jdk-hotspot-bionic…
Sus Verwimp
  • 43
  • 1
  • 5
0
votes
0 answers

Create image docker with JIB and dynamic arguments by console

I need to create my docker container that I generate with my Jhipter application (maven, spring-boot). If I pass parameters dynamically by console, Works correctly: ./mvnw -Pprod…
Jose
  • 1,779
  • 4
  • 26
  • 50
0
votes
2 answers

Kubectl Java client returns exit code 3 when using exec

I am writing a little backup programm for an application. This will run as a CronJob within my k8s cluster. At one point, it should trigger an mysql dump on the database inside another pod. My code: Exec exec = new Exec(); Process process =…
purzel
  • 138
  • 2
  • 15
0
votes
1 answer

How to startup Spring Boot service AND run startup script

I am using JHipster to create springboot application and I think it uses JIB to create the docker container. Everything works fine, but what about doing a startup script or running additional stuff. In my case i need to startup an apt installed…
Average Bear
  • 191
  • 1
  • 3
  • 13
0
votes
4 answers

How to properly configure the environment in kubernetes cluster?

I have a spring boot application with two profiles, dev and prod, my docker file is: FROM openjdk:8-jdk-alpine VOLUME /tmp ARG DEPENDENCY=target/dependency COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib COPY ${DEPENDENCY}/META-INF /app/META-INF COPY…
Phate
  • 6,066
  • 15
  • 73
  • 138
0
votes
1 answer

How to name versioned images in skaffold.yml

I have a multi-module maven project (Spring Boot), I generate the docker images in using the JIB Maven Plugin but how should I name the images in scaffold? Im pushing to local docker repo and Skaffold afaik does not support templating. What is the…
Steven Smart
  • 495
  • 3
  • 7
  • 22
0
votes
0 answers

Running container created by JIB image

I am using maven jib plugin to dockerize my Spring boot based application. https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin org.apache.maven.plugins
user1578872
  • 7,808
  • 29
  • 108
  • 206
1 2 3
14
15