Skip to content

Commit

Permalink
Change base image from docker hub to ECR
Browse files Browse the repository at this point in the history
Because of DockerHub [rate limits](https://docs.docker.com/docker-hub/download-rate-limit/#:~:text=Docker%20Hub%20limits%20the%20number,pulls%20per%206%20hour%20period.), if we run this github action on self-hosted runners we might get rate limited after 100 calls. If we use [ECR public images](https://www.docker.com/blog/news-from-aws-reinvent-docker-official-images-on-amazon-ecr-public/) instead, this problem doesn't apply since the rate limit is bigger.
  • Loading branch information
bmbferreira authored May 18, 2022
1 parent 69fdd6c commit b560f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim AS builder
FROM public.ecr.aws/docker/library/python:3-slim AS builder
ADD . /app
WORKDIR /app

Expand Down

0 comments on commit b560f21

Please sign in to comment.