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/build-rootfs-size-docker.sh b/build-rootfs-size-docker.sh
index 056f1ea..ce64076 100755
--- a/build-rootfs-size-docker.sh
+++ b/build-rootfs-size-docker.sh
@@ -10,8 +10,8 @@
# default ones in /etc/apt/sources.list
# 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)
# http_proxy: The HTTP address of the proxy server to connect to.
# Default: "", proxy is not setup if this is not set
@@ -22,7 +22,7 @@
DOCKER_IMG_NAME=${DOCKER_IMG_NAME:-"openbmc/ubuntu-rootfs-size"}
DISTRO=${DISTRO:-"ubuntu:bionic"}
-docker_reg=${DOCKER_REG:-"docker.io"}
+docker_reg=${DOCKER_REG:-"public.ecr.aws/ubuntu"}
PROXY=""