fix: do not use custom sources.list on debian 12 bookworm
This commit is contained in:
parent
93f66b08f4
commit
a4b20299cd
@ -43,6 +43,7 @@ for version in 7 8 9 10 11 12; do
|
||||
|
||||
if [[ $version -eq 12 ]]; then
|
||||
repository=http://deb.debian.org/debian
|
||||
sed -i '/sources.list/d' 12/Dockerfile
|
||||
else
|
||||
repository=$(wget -q -O - https://cdimage.debian.org/mirror/cdimage/archive/${last_version}/amd64/jigdo-bd/debian-${last_version}-amd64-BD-1.jigdo | gunzip | awk -F= '/snapshot.debian.org/ {print $2}' | cut -d ' ' -f 1)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user