Skip to content

Commit 45c28fb

Browse files
KingPinKingPin
authored andcommitted
fix(dockerfile): switch v1 to ECR to avoid Docker Hub rate limits
Change base image from docker.io/library/php to public.ecr.aws/docker/library/php to avoid Docker Hub's unauthenticated pull rate limits (100 pulls per 6 hours). AWS ECR Public Gallery has no rate limits for public images and is a reliable mirror for Docker Hub's official images. This matches the approach already used in Dockerfile.v2. Fixes: 'toomanyrequests: You have reached your unauthenticated pull rate limit'
1 parent 179f498 commit 45c28fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile.v1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VERSION=8.3-cli-alpine
2-
FROM php:${VERSION}
2+
FROM public.ecr.aws/docker/library/php:${VERSION}
33
ARG PHPVERSION
44
ARG BASEOS
55

0 commit comments

Comments
 (0)