Skip to content

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

Closed as not planned
@scottfrederick

Description

@scottfrederick

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 #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions