Update build.func

temporally set Alpine repositories to "3.19" from "latest-stable"
This commit is contained in:
tteckster 2024-05-22 11:07:28 -04:00 committed by GitHub
parent 73291211a8
commit d468fc6c1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -620,8 +620,10 @@ EOF
if [ "$var_os" == "alpine" ]; then
sleep 3
pct exec "$CTID" -- /bin/sh -c 'cat <<EOF >/etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
#http://dl-cdn.alpinelinux.org/alpine/latest-stable/main
#http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
http://dl-cdn.alpinelinux.org/alpine/v3.19/main
http://dl-cdn.alpinelinux.org/alpine/v3.19/community
EOF'
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
fi