From 58f4b81a7e589e1f11b233a0d92d80a4a7174fc0 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 18 Jun 2020 15:48:37 +0000
Subject: [PATCH] scripts/genrootfs.sh: use https repos for minirootfs

Seems like there are a number of docker users that have problems with
http. Lets use https for docker images by default.
---
 scripts/genrootfs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh
index 72f2c8f9e4d4..377e3b936dec 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -51,8 +51,8 @@ case $VERSION_ID in
 esac
 
 cat > "$tmp"/etc/apk/repositories <<EOF
-http://dl-cdn.alpinelinux.org/alpine/$branch/main
-http://dl-cdn.alpinelinux.org/alpine/$branch/community
+https://alpine.global.ssl.fastly.net/alpine/$branch/main
+https://alpine.global.ssl.fastly.net/alpine/$branch/community
 EOF
 
 tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile"
-- 
GitLab