Search code examples
spring-bootdockeraws-fargatejibhealth-check

how to install curl for health check of spring boot jib docker image?


You define jib image in pom file, but I need curl command-line to be running on the container to do health check on aws ecs. How can I add curl into that image?


Solution

  • jib is distroless, so curl can't be installed on jib images. It can easily be installed if I want to go with one of the distro based images.