osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/43533?usp=email )
Change subject: data/build_binpkg: fix debian11 (EOL) ......................................................................
data/build_binpkg: fix debian11 (EOL)
Change-Id: I16f66b34dde8271355bb415214c124d918fc4512 --- M scripts/obs/data/build_binpkg.Dockerfile 1 file changed, 12 insertions(+), 0 deletions(-)
Approvals: fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile index fb3df72..ee291b4 100644 --- a/scripts/obs/data/build_binpkg.Dockerfile +++ b/scripts/obs/data/build_binpkg.Dockerfile @@ -12,6 +12,18 @@ fi && \ useradd --uid=${UID} -m user
+# As of writing, the debian 11 security repository is not available on +# archive.debian.org while at the same time the non-archived version is broken. +# Use snapshot.debian.org for now (as found in the debian:eol image). +RUN case "$DISTRO" in \ + debian:11) \ + ( echo "deb http://archive.debian.org/debian bullseye main"; \ + echo "deb http://snapshot.debian.org/archive/debian-security/20250625T172521Z bullseye-security main"; \ + echo "deb http://archive.debian.org/debian bullseye-updates main"; \ + ) > /etc/apt/sources.list \ + ;; \ + esac + # Only install build-essential here, and what's needed to add the Osmocom # repository. Everything else must be defined as dependency in the package # build recipe. For rpm-based distributions, there is no build-essential or