From d9e4aeb518ca56668179ab52f000e946e74a422d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 14 Dec 2024 16:16:33 +0100 Subject: [PATCH] docker: replace pull with tag to not hit rate limits --- scripts/installer.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index ad5ee96a8..530d7cfe7 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -165,10 +165,7 @@ for image in ${images}; do log "Could not pull ${image}" sleep 5 done - while ! docker pull "${image%@sha256:*}"; do # this will tag the image for readability - log "Could not pull ${image%@sha256:*}" - sleep 5 - done + docker tag "${image}" "${image%@sha256:*}" # this will tag the image for readability done if [[ "${is_update}" == "yes" ]]; then