Skip to content
Snippets Groups Projects
Commit 58f4b81a authored by Natanael Copa's avatar Natanael Copa
Browse files

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.
parent 9b6425b0
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,8 @@ case $VERSION_ID in ...@@ -51,8 +51,8 @@ case $VERSION_ID in
esac esac
cat > "$tmp"/etc/apk/repositories <<EOF cat > "$tmp"/etc/apk/repositories <<EOF
http://dl-cdn.alpinelinux.org/alpine/$branch/main https://alpine.global.ssl.fastly.net/alpine/$branch/main
http://dl-cdn.alpinelinux.org/alpine/$branch/community https://alpine.global.ssl.fastly.net/alpine/$branch/community
EOF EOF
tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile" tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment