1

I am using Spring Boot Maven plugin to create a Docker image with the command mvn spring-boot:build-image. This uses Paketo buildpacks. It works fine, but the resulting Docker image has labels with a huge amount of data. It lists every file in my project. I have tooling (Falco) that reads the response of docker inspect and it breaks trying to parse the massive amount of JSON. In particular, I've noticed that the io.buildpacks.lifecycle.metadata label is huge. How can I get the buildpacks to stop using large labels?

4

0 回答 0