Skip to content

Commit

Permalink
fix(build): Avoid Docker Hub pull throttling by using public ECR regi…
Browse files Browse the repository at this point in the history
…stry (#4292)
  • Loading branch information
khvn26 authored Jul 8, 2024
1 parent 1fa4990 commit 30bed4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ ARG CI_COMMIT_SHA=dev
ARG NODE_VERSION=16
ARG PYTHON_VERSION=3.11

FROM node:${NODE_VERSION}-bookworm as node
FROM node:${NODE_VERSION}-bookworm-slim as node-slim
FROM python:${PYTHON_VERSION}-bookworm as python
FROM python:${PYTHON_VERSION}-slim-bookworm as python-slim
FROM public.ecr.aws/docker/library/node:${NODE_VERSION}-bookworm as node
FROM public.ecr.aws/docker/library/node:${NODE_VERSION}-bookworm-slim as node-slim
FROM public.ecr.aws/docker/library/python:${PYTHON_VERSION}-bookworm as python
FROM public.ecr.aws/docker/library/python:${PYTHON_VERSION}-slim-bookworm as python-slim

# - Intermediary stages
# * build-node
Expand Down

0 comments on commit 30bed4e

Please sign in to comment.