1 回答
- 最新
- 投票最多
- 评论最多
1
Unfortunately our implementation does not leverage the Docker config "registry-mirrors" feature. This means you currently can only use our ecr pull-through cache by updating the base image reference("FROM:...").
How often do you change your Dockerfile? Is it maybe a feasible approach to use a tool like "sed" in the CI/CD to overwrite the "FROM" Reference in the Docker File to the ecr pull-through cache address, so that GitLab CI uses the cache, but other Developers who build locally don't?
已回答 2 个月前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
Thanks :)
At least, now it's documented. Maybe it could be an addition to the ECR pull-through-cache feature documentation ? (together with https://repost.aws/questions/QU8MCA6JSPRBuY-xLU880atw/ecs-cannotpullcontainererror-when-using-ecr-pull-through-cache-rule )