diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-06-18 15:48:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-06-18 15:48:37 +0000 |
commit | 58f4b81a7e589e1f11b233a0d92d80a4a7174fc0 (patch) | |
tree | 1fd0e3e0a45f2c79082835495da05de25c119148 /scripts | |
parent | 9b6425b05c4e914dbf848c234717b51a79d45ad9 (diff) | |
download | alpine_aports-58f4b81a7e589e1f11b233a0d92d80a4a7174fc0.tar.bz2 alpine_aports-58f4b81a7e589e1f11b233a0d92d80a4a7174fc0.tar.xz alpine_aports-58f4b81a7e589e1f11b233a0d92d80a4a7174fc0.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genrootfs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh index 72f2c8f9e4..377e3b936d 100755 --- a/scripts/genrootfs.sh +++ b/scripts/genrootfs.sh | |||
@@ -51,8 +51,8 @@ case $VERSION_ID in | |||
51 | esac | 51 | esac |
52 | 52 | ||
53 | cat > "$tmp"/etc/apk/repositories <<EOF | 53 | cat > "$tmp"/etc/apk/repositories <<EOF |
54 | http://dl-cdn.alpinelinux.org/alpine/$branch/main | 54 | https://alpine.global.ssl.fastly.net/alpine/$branch/main |
55 | http://dl-cdn.alpinelinux.org/alpine/$branch/community | 55 | https://alpine.global.ssl.fastly.net/alpine/$branch/community |
56 | EOF | 56 | EOF |
57 | 57 | ||
58 | tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile" | 58 | tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile" |