Closed TianMing2018 closed 1 year ago
it still faild whn I use --buildpack health.tgz
which generate by manually run ./script/build.sh
and re-tar tgz file
It's hard to say what has happened here as there's a custom builder and some non-Paketo buildpacks.
That file is present in the image though, you can see that with dive
.
Can you try running with the Paketo builder and buildpacks and see if it works for you?
It's hard to say what has happened here as there's a custom builder and some non-Paketo buildpacks.
That file is present in the image though, you can see that with
dive
.Can you try running with the Paketo builder and buildpacks and see if it works for you?
guess you screenshot is captured by
dive gcr.io/paketo-buildpacks/health-checker
my pulled image do have those files,and this https://github.com/paketo-buildpacks/health-checker/issues/23#issue-1501104918 still failed .
anyway,this issuse is a derivative for try to resolve health-check need for spring-boot app, now it's resolved and the detail command and sample code is push to https://github.com/TianMing2018/paketo-demo#24-for-health-cheker ,so this issue is not so important to me.
OK, it sounds like it's OK for me to close this out, so I'm going to. If I'm mistaken, sorry, just let me know and I can reopen.
is this buildpack image is valid,cause it throw this error
fork/exec /cnb/buildpacks/paketo-buildpacks_health-checker/1.1.0/bin/detect: no such file or directory
Expected Behavior
build success and get a health check
Current Behavior
build failed
Possible Solution
Steps to Reproduce
ubuntu@DESKTOP-T0EV4J4:~$ git clone https://github.com/buildpacks/samples
Motivations
i'm building some related
spring-boot
apps,such as A,B,C, while B sholud start up after A has startup completely,and C need start up after all, as docker compose docs said, I need a healthcheck test,it seems that this repo was the only way to do this cause buildpack disablecurl
usage for security reason