aws / aws/aws-codebuild-docker-images

Local docker layer cache lifespan is too short.

Open
#194 3 comments 8 reactions 0 assignees View on GitHub
feature request
Dominant language
Dockerfile
Stars
1.2k
Forks
971
Avg merge
2h 47m
Merged PRs (30d)
1

Description

When CodeBuild projects are ran within minutes of each other, the [local docker layer cache](https://docs.aws.amazon.com/codebuild/latest/userguide/build-caching.html#caching-local) works wonderfully.

However, if a subsequent build runs maybe 30-60 minutes later, the cache is gone.

Is there anyway to add a feature where we can set an expiration time for the cache to make it a bit more predictable and persistent? Or maybe have a native way for the cached layers to be stored on S3 where we can set a lifecycle policy?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.