Chat directly with the team! (What do you like best about Jib? What needs to be improved? Please tell us by taking a one-minute survey: https://forms.gle/YRFeamGj51xmgnx28)
Hi jib team, thanks for the plugin for Maven, like it; I am using the buildTar task, and find this error message:
Caused by: java.nio.file.NoSuchFileException: /tmp/2158944339627963675/manifest.json
...
at com.google.cloud.tools.jib.builder.steps.LocalBaseImageSteps.cacheDockerImageTar (LocalBaseImageSteps.java:217)
...
When I want to read a tarball in <from>
.
The image I downloaded is registry.access.redhat.com/jboss-amq-6/amq63-openshift:1.4-44
. I want to docker save
it to a tar, extract it, enter each layer and remove some class file, and package it again as a tarball, and build my app with buildTar
. But I failed with this error. (Yes, I do this because I need to remove some log4j class files).
Do you think it's the proper way? What did I do wrong? Thanks. Plugin version 3.0.0, command: mvn clean package jib:buildTar -U -f pom.xml -P docker-build -X
. Maven is using Java 8.
-z
(zip), -b
(bzip) or -j
when using tar
.
extraDirectories
setting is evaluated during the Configuration Stage of the plugin, when the directory is not present yet.
Hello! I'm trying to execute ./gradlew build jibDockerBuild
for a Spring Boot app written in Kotlin, targeting Java 11, via the Jib Gradle plugin v3.2.0 (I'm on macOS 12.2).
When I attempt to execute the Gradle task, I encounter the following error: com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: Cannot run program "docker": error=2, No such file or directory
I haven't seen a ton of other people with this same issue, and the response I've seen to those few occurrences is that the Docker CLI isn't installed. However, I do have Docker installed (via Docker Desktop for Mac), and the "docker" command is recognized in the same terminal that I attempt to execute the Gradle task in. So I definitely have Docker installed, it just seems like Jib doesn't recognize my PATH.
Any ideas would be appreciated. Thanks!
@/all Jib CLI 0.10.0 has been released!
Major Changes
See CHANGELOG.md for more details.