From 6e8f1f3ad520999d0142ec9fa9f6ea5804357d2a Mon Sep 17 00:00:00 2001 From: "Reid D. McKenzie" Date: Tue, 28 Oct 2025 13:10:06 -0700 Subject: [PATCH] chore(tests): Use ECR for Ubuntu base To avoid dockerhub pull limits. --- .bcr/patches/remove_dev_deps.patch | 6 +++--- MODULE.bazel | 2 +- bazel/include/oci.MODULE.bazel | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bcr/patches/remove_dev_deps.patch b/.bcr/patches/remove_dev_deps.patch index 34afa84c..2b8ad970 100644 --- a/.bcr/patches/remove_dev_deps.patch +++ b/.bcr/patches/remove_dev_deps.patch @@ -1,5 +1,5 @@ ---- a/MODULE.bazel 2025-10-28 11:19:35 -+++ b/MODULE.bazel 2025-10-28 11:19:35 +--- a/MODULE.bazel 2025-10-28 13:08:11 ++++ b/MODULE.bazel 2025-10-28 13:08:11 @@ -22,557 +22,5 @@ "@aspect_rules_py//py/private/toolchain/venv/...", "@aspect_rules_py//py/private/toolchain/unpack/...", @@ -447,7 +447,7 @@ -oci.pull( - name = "ubuntu", - digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab", -- image = "ubuntu", +- image = "public.ecr.aws/docker/library/ubuntu", - platforms = [ - "linux/arm64/v8", - "linux/amd64", diff --git a/MODULE.bazel b/MODULE.bazel index 4142891d..e5fbf74a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -465,7 +465,7 @@ oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = Tr oci.pull( name = "ubuntu", digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab", - image = "ubuntu", + image = "public.ecr.aws/docker/library/ubuntu", platforms = [ "linux/arm64/v8", "linux/amd64", diff --git a/bazel/include/oci.MODULE.bazel b/bazel/include/oci.MODULE.bazel index fd0bd3aa..5c6ccc57 100644 --- a/bazel/include/oci.MODULE.bazel +++ b/bazel/include/oci.MODULE.bazel @@ -5,7 +5,7 @@ oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = Tr oci.pull( name = "ubuntu", digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab", - image = "ubuntu", + image = "public.ecr.aws/docker/library/ubuntu", platforms = [ "linux/arm64/v8", "linux/amd64",