spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

Allow build image caches to use the container file system instead of volumes

Open scottfrederick opened this issue 3 years ago • 3 comments

When the Maven spring-boot:build-image goal or Gradle bootBuildImage task invokes the CNB lifecycle API, it creates and mounts volumes for the lifecycle to use as build and launch caches. Some restrictive environments like BitBucket don't allow writing to these volumes, but do allow writing to a specific location on the build container file system. The plugins should be enhanced to allow a user to configure file system locations for the build and launch caches instead of volumes.

See https://github.com/spring-projects/spring-boot/issues/25606 for an example of an issue related to this, and the Pack cache options RFC for the pack CLI implementation of a similar capability.

scottfrederick avatar Apr 09 '21 21:04 scottfrederick

Are there any plans around this? It's been a while :D

mimozell avatar Mar 10 '22 10:03 mimozell

@mimozell There are no immediate plans to implement this. We haven't seen enough demand for the feature to make it a high priority relative to other things the team is working on. Contributions are always welcomed.

scottfrederick avatar Mar 10 '22 13:03 scottfrederick