mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
tests: Fixes jessie-dnsutils image build
Currently, the jessie-dnsutils image cannot be built for arm64, ppc64le, s390x, as its mirrors has been moved to the archive. This PR will replace its regular mirrors with the archive ones.
This commit is contained in:
parent
021ad88ac4
commit
9ae1f41ca9
@ -22,8 +22,11 @@ DEB_ARCH=$(dpkg --print-architecture)
|
||||
|
||||
case ${DEB_ARCH} in
|
||||
s390x|arm64|ppc64el)
|
||||
sed -i '/debian-security/d' /etc/apt/sources.list
|
||||
;;
|
||||
# we have to use the archive mirrors.
|
||||
# See: https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html
|
||||
echo "deb http://archive.debian.org/debian/ jessie main contrib non-free" | tee /etc/apt/sources.list
|
||||
echo "deb-src http://archive.debian.org/debian/ jessie main contrib non-free" | tee -a /etc/apt/sources.list
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user