Failed build image by packeto-buldpacks jdk #29
-
Hi, All I set the JDK of packeto buildpack in spring boot and this is it.
But recently, it suddenly started failing during the build process. Error Bellow:
If you do not directly inject the buildpack JDK, it works normally. (default liberica) Also, I built it using the pack cli. In this case, an error like this occurs.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
That doesn't sound like a Buildpacks issue. Maybe a missing dependency. |
Beta Was this translation helpful? Give feedback.
-
There is an explanation of the issue and a few possible work-arounds here: spring-projects/spring-boot#31233 (comment). |
Beta Was this translation helpful? Give feedback.
-
OK, so there are two issues being reported here:
|
Beta Was this translation helpful? Give feedback.
OK, so there are two issues being reported here:
Running Maven/Gradle to build an image with buildpacks and it fails. That is addressed by @scottfrederick's comment: https://github.com/orgs/paketo-buildpacks/discussions/29#discussioncomment-2873763
err: exec: "docker-credential-gcloud": executable file not found in $PATH, out:
. This error can happen for a few reasons, but it is a local workstation problem. The pack cli will delegate to Docker for authentication, so if you have an entry in yourdocker.config
file forgcr.io
it will attempt to use that to authenticate, even if the image it's loading is public. The pack cli doesn't not check if it's public first. This error often happen…