← Back to issue list

Cache retrieved base during build

View original Github issue

Metadata

Project
rockcraft
Number
#184
Type
issue
State
open
Author
jardon
Labels
Created
Updated
Closed

Current evaluation

Feature request to cache the fetched base image during rockcraft pack to avoid Docker Hub pull rate limits. Maintainers discussed caching strategies in Feb 2023; project has since moved to ECR registry and added an image service, but no explicit base-image caching was implemented.

Suggested action: needs triage

Reason: The issue has no labels or assignee, and the last activity was over 3 years ago. While the project has evolved (switched to ECR registry in #197, added an image service), there is no evidence that base-image caching was explicitly implemented to address this specific concern. The discussion in the comments shows maintainer engagement but no resolution or closure.

Impact: 40 Quick Win: 18.0 Staleness: 75 Complexity: 55 Confidence: 60 Support Request: 10

Issue body

I have hit my pull rate limit for docker hub because of rockcraft. Every time I run a `rockcraft pack` the base is fetched from docker and contributes against my limit. Can this image be cached and only removed during a `rockcraft clean` or a base change?

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 18.0
Staleness: 75
Complexity: 55
Confidence: 60
Support Request: 10
needs triage Feature request to cache the fetched base image during rockcraft pack to avoid Docker Hub pull rate limits. Maintainers discussed caching strategies in Feb 2023; project has since moved to ECR registry and added an image service, but no explicit base-image caching was implemented.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 60
Confidence: 90
Support Request: 5
close stale Feature request to cache Docker base images during rockcraft builds to avoid Docker Hub rate limits. Discussed caching strategies in Feb 2023 but has been inactive for over three years with no implementation or maintainer follow-up.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 75
Confidence: 85
Support Request: 10
close stale Feature request to cache Docker base images during rockcraft builds to avoid Docker Hub pull rate limits. Discussed by maintainers with proposed short-term time-based caching and long-term global cache solutions, but remains unimplemented and inactive for nearly three years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Caches Docker base images during rockcraft pack to bypass Docker Hub pull rate limits. Team discussed a time-based refresh as a short-term fix. Implementation pending.

Update history

No update history recorded yet.

Related work

  • Related To: rockcraft#197 (confidence 70%)

    Commit 'oci: use alternative registry (#197)' switched from Docker Hub to ECR, which has less severe pull-rate limits, partially addressing the rate-limit concern raised in this issue.

Related issues

Issue Project State Summary Similarity
#655 Make ROCK base image registry configurable. rockcraft open Feature request to make the hardcoded ECR base image registry URL configurable in rockcraft.oci.Image to allow pulling from non-ECR registries and avoid rate-limit failures. Untriaged, no maintainer response, no labels, 763 days old. Code still uses hardcoded REGISTRY_URL = ECR_URL.
73%