Skip to content

Commit d0e7844

Browse files
committed
Pull container images from ECR Public instead of Docker Hub
Signed-off-by: Austin Vazquez <[email protected]>
1 parent 4d6b50f commit d0e7844

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ ARG CONTAINERD_VERSION=1.6.30
1616
ARG RUNC_VERSION=1.1.12
1717
ARG NERDCTL_VERSION=1.7.1
1818
ARG GO_VERSION=1.21.8
19+
ARG REGISTRY_VERSION=3.0.0-alpha.1
1920

20-
FROM golang:${GO_VERSION}-bookworm AS golang-base
21+
FROM public.ecr.aws/docker/library/golang:${GO_VERSION}-bookworm AS golang-base
2122

2223
FROM golang-base AS containerd-snapshotter-base
2324
ARG CONTAINERD_VERSION
@@ -46,4 +47,4 @@ RUN curl -sSL --output /tmp/nerdctl.tgz https://github.com/containerd/nerdctl/re
4647
tar zxvf /tmp/nerdctl.tgz -C /usr/local/bin/ && \
4748
rm -f /tmp/nerdctl.tgz
4849

49-
FROM registry:3.0.0-alpha.1 AS registry
50+
FROM public.ecr.aws/docker/library/registry:${REGISTRY_VERSION} AS registry

0 commit comments

Comments
 (0)