Skip to content

Commit 2098817

Browse files
authored
registry-proxy alpine-slim doesnt have curl need use wget (#22550)
1 parent 2868a87 commit 2098817

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • deploy/images/kube-registry-proxy/rootfs/bin

deploy/images/kube-registry-proxy/rootfs/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sed -e "s/%HOST%/$REGISTRY_HOST/g" \
1414
</etc/nginx/conf.d/default.conf.in >/etc/nginx/conf.d/default.conf
1515

1616
# wait for registry to come online
17-
while ! curl -sS "$REGISTRY_HOST:$REGISTRY_PORT" &>/dev/null; do
17+
while ! wget -q --spider "$REGISTRY_HOST:$REGISTRY_PORT" &>/dev/null; do
1818
printf "waiting for the registry (%s:%s) to come online...\n" "$REGISTRY_HOST" "$REGISTRY_PORT"
1919
sleep 1
2020
done

0 commit comments

Comments
 (0)