1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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?
répondu il y a 2 mois
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
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 )