GoogleContainerTools/jib-extensions

Exclude Spring Boot docker-compose module in jib-spring-boot-extension-maven

Davio opened this issue · 0 comments

Davio commented

Spring Boot has added support for running services through docker-compose as of version 3.1.

This causes the same issues with Jib as devtools does.

Spring Boot itself does exclude the docker compose module in its own repackage goal, see https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#goals-repackage-parameters-details-excludeDockerCompose

So it makes sense to exclude it from Jib as well.