Permalink
Browse files

Try using deb.debian.org but disabling the SRV record magic.

  • Loading branch information...
lamby committed Sep 12, 2017
1 parent 4d3afc3 commit 345c6c169541f5ad1b9b641a3e12f1c79cdd2762
Showing with 2 additions and 1 deletion.
  1. +2 −1 script.sh
View
@@ -59,7 +59,7 @@ fi
Info "Starting build of ${SOURCE} using travis.debian.net"
TRAVIS_DEBIAN_MIRROR="${TRAVIS_DEBIAN_MIRROR:-http://cdn-fastly.deb.debian.org/debian}"
TRAVIS_DEBIAN_MIRROR="${TRAVIS_DEBIAN_MIRROR:-http://deb.debian.org/debian}"
TRAVIS_DEBIAN_BUILD_DIR="${TRAVIS_DEBIAN_BUILD_DIR:-/build}"
TRAVIS_DEBIAN_TARGET_DIR="${TRAVIS_DEBIAN_TARGET_DIR:-../}"
TRAVIS_DEBIAN_NETWORK_ENABLED="${TRAVIS_DEBIAN_NETWORK_ENABLED:-false}"
@@ -271,6 +271,7 @@ fi
cat >>Dockerfile <<EOF
RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/force-unsafe-io
RUN echo 'Acquire::EnableSrvRecords "false";' > /etc/apt/apt.conf.d/90srvrecords
RUN apt-get update && apt-get dist-upgrade --yes
EOF

0 comments on commit 345c6c1

Please sign in to comment.