Skip to content

Commit f2701d6

Browse files
authored
chore(tests): Use ECR for Ubuntu base (#692)
To avoid dockerhub pull limits. ### Changes are visible to end-users: no ### Test plan This is the test plan.
1 parent c6437e8 commit f2701d6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.bcr/patches/remove_dev_deps.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- a/MODULE.bazel 2025-10-28 11:19:35
2-
+++ b/MODULE.bazel 2025-10-28 11:19:35
1+
--- a/MODULE.bazel 2025-10-28 13:08:11
2+
+++ b/MODULE.bazel 2025-10-28 13:08:11
33
@@ -22,557 +22,5 @@
44
"@aspect_rules_py//py/private/toolchain/venv/...",
55
"@aspect_rules_py//py/private/toolchain/unpack/...",
@@ -447,7 +447,7 @@
447447
-oci.pull(
448448
- name = "ubuntu",
449449
- digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab",
450-
- image = "ubuntu",
450+
- image = "public.ecr.aws/docker/library/ubuntu",
451451
- platforms = [
452452
- "linux/arm64/v8",
453453
- "linux/amd64",

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = Tr
465465
oci.pull(
466466
name = "ubuntu",
467467
digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab",
468-
image = "ubuntu",
468+
image = "public.ecr.aws/docker/library/ubuntu",
469469
platforms = [
470470
"linux/arm64/v8",
471471
"linux/amd64",

bazel/include/oci.MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ oci = use_extension("@rules_oci//oci:extensions.bzl", "oci", dev_dependency = Tr
55
oci.pull(
66
name = "ubuntu",
77
digest = "sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab",
8-
image = "ubuntu",
8+
image = "public.ecr.aws/docker/library/ubuntu",
99
platforms = [
1010
"linux/arm64/v8",
1111
"linux/amd64",

0 commit comments

Comments
 (0)