mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
Dockerfile: switch base from Docker Hub to ECR Public
AWS CodeBuild shares an outbound IP pool with many other AWS customers, so anonymous Docker Hub pulls (100/6h per IP) rate-limit quickly. The aws-feature variant in Package run 24642508475 hit 429 on debian:bookworm-slim. ECR Public hosts the same official Debian images at public.ecr.aws/debian/debian, has no pull rate limit, and is anonymously accessible. Same upstream image, just mirrored on AWS.
This commit is contained in:
parent
a35698e952
commit
a92f0be9c8
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,7 @@
|
|||
FROM debian:bookworm-slim
|
||||
# Pulled from ECR Public (the Debian team mirrors official images there)
|
||||
# instead of Docker Hub to avoid anonymous-pull rate limits from AWS
|
||||
# CodeBuild, which shares an outbound IP pool with many other accounts.
|
||||
FROM public.ecr.aws/debian/debian:bookworm-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue