1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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?
con risposta 2 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
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 )