blue_man
blue_man

Reputation: 63

Is it possible to set cache-from for bootBuildImage gradle task

So, I am creating a Spring Boot Application Docker Image. As I see, there is a plugin available for it which can be just invoked as a gradle task as

./gradlew bootBuildImage

If I am using this plugin, how do I mention the --cache-from option as if I am using the

docker build --cache-from old-image .

Upvotes: 2

Views: 360

Answers (1)

Brad Mace
Brad Mace

Reputation: 27906

Appears this is not possible yet because there's an open ticket to add this functionality: https://github.com/spring-projects/spring-boot/issues/28386

Upvotes: 0

Related Questions