diff options
| author | dd <dd@wx.tnyzeq.icu> | 2025-09-21 11:00:23 +0200 |
|---|---|---|
| committer | dd <dd@wx.tnyzeq.icu> | 2025-09-21 12:32:59 +0200 |
| commit | 6aea61457ba52cfa742e9e8c9b5312e13fe99484 (patch) | |
| tree | ad5612d76e6a536e1f204370c1e9b5ee5c64ece7 | |
| parent | b7b2c571f6a0cb17ddb8ffc99cda01e9749ce5ae (diff) | |
| download | vyos-missing-6aea61457ba52cfa742e9e8c9b5312e13fe99484.tar.gz vyos-missing-6aea61457ba52cfa742e9e8c9b5312e13fe99484.zip | |
added hack for pdns-recursor to make the docker builder use archive apt mirror as workaround for archival of main mirror
| -rw-r--r-- | packages/pdns-recursor/Dockerfile.hack | 2 | ||||
| -rw-r--r-- | packages/pdns-recursor/Jenkinsfile | 1 | ||||
| -rwxr-xr-x | packages/pdns-recursor/hack.sh | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/packages/pdns-recursor/Dockerfile.hack b/packages/pdns-recursor/Dockerfile.hack new file mode 100644 index 0000000..6458adc --- /dev/null +++ b/packages/pdns-recursor/Dockerfile.hack @@ -0,0 +1,2 @@ +# Fix apt to use archive mirror +RUN sed -i -E 's~^deb http://(deb|security).debian.org~deb http://archive.debian.org~' /etc/apt/sources.list diff --git a/packages/pdns-recursor/Jenkinsfile b/packages/pdns-recursor/Jenkinsfile index b549730..62a92a2 100644 --- a/packages/pdns-recursor/Jenkinsfile +++ b/packages/pdns-recursor/Jenkinsfile @@ -27,6 +27,7 @@ def pkgList = [ 'buildCmd': """ git submodule init git submodule update + ../hack.sh ./builder/build.sh -m recursor -V ${pdnsRecursorVersion} -v debian-buster-amd64 """], ] diff --git a/packages/pdns-recursor/hack.sh b/packages/pdns-recursor/hack.sh new file mode 100755 index 0000000..6474b6c --- /dev/null +++ b/packages/pdns-recursor/hack.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +sed -i '/ARG APT_URL/r ../Dockerfile.hack' ./builder-support/dockerfiles/Dockerfile.target.debian-buster |
