make aws default docker registry in remaining scripts
AWS has much better anonymous pull request limits (1 per second) vs
docker hub which is 100 per 6 hours per IP address. A lot of our CI and
development occurs on shared systems so it's easy to exceed this limit
on an IP basis.
Tested:
- Verified no setting for DOCKER_REG and a setting of docker.io work as
expected within these scripts
Change-Id: Ic5cb5ee07ee83567b6cf26754b6d1045025bdd65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/scripts/build-qemu-robot-docker.sh b/scripts/build-qemu-robot-docker.sh
index c8e402a..4517ffd 100755
--- a/scripts/build-qemu-robot-docker.sh
+++ b/scripts/build-qemu-robot-docker.sh
@@ -9,9 +9,8 @@
# PIP_MIRROR: <optional, the URL of a PIP mirror>
# default is empty, and no mirror is used.
# DOCKER_REG: <optional, the URL of a docker registry to utilize
-# instead of the default docker hub
-# (ex. public.ecr.aws/ubuntu)
-#
+# instead of our default (public.ecr.aws/ubuntu)
+# (ex. docker.io)
# Parameters:
# parm1: <optional, the name of the docker image to generate>
# default is openbmc/ubuntu-robot-qemu
@@ -25,7 +24,7 @@
DISTRO=${2:-"ubuntu:jammy"}
UBUNTU_MIRROR=${UBUNTU_MIRROR:-""}
PIP_MIRROR=${PIP_MIRROR:-""}
-docker_reg=${DOCKER_REG:-"docker.io"}
+docker_reg=${DOCKER_REG:-"public.ecr.aws/ubuntu"}
MIRROR=""
if [[ -n "${UBUNTU_MIRROR}" ]]; then