osmith submitted this change.

View Change

Approvals: fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified
data/build_binpkg: fix debian11 (EOL)

Change-Id: I16f66b34dde8271355bb415214c124d918fc4512
---
M scripts/obs/data/build_binpkg.Dockerfile
1 file changed, 12 insertions(+), 0 deletions(-)

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

To view, visit change 43533. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I16f66b34dde8271355bb415214c124d918fc4512
Gerrit-Change-Number: 43533
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>