From: Nick Porter Date: Thu, 14 Jul 2022 08:21:09 +0000 (+0100) Subject: Debian sid docker image no-longer has /etc/apt/sources.list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d694eaa85296e8953ff34c8cb4c7ea43fcc47aa6;p=thirdparty%2Ffreeradius-server.git Debian sid docker image no-longer has /etc/apt/sources.list --- diff --git a/.github/workflows/ci-deb.yml b/.github/workflows/ci-deb.yml index 6d103477a5b..f766fef1673 100644 --- a/.github/workflows/ci-deb.yml +++ b/.github/workflows/ci-deb.yml @@ -80,8 +80,10 @@ jobs: - name: Package manager performance and stability improvements run: | + if [ -f "/etc/apt/sources.list" ]; then sed -i 's/deb.debian.org/debian-archive.trafficmanager.net/' /etc/apt/sources.list sed -i 's/archive.ubuntu.com/azure.archive.ubuntu.com/' /etc/apt/sources.list + fi echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/02speedup echo 'man-db man-db/auto-update boolean false' | debconf-set-selections