GoogleContainerTools / jib-extensions

Apache License 2.0
117 stars 35 forks source link

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

Open Davio opened 1 year ago

Davio commented 1 year ago

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.