osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/41847?usp=email )

Change subject: debian-trixie-obs-latest: new container
......................................................................

debian-trixie-obs-latest: new container

Switching to debian 13 by default requires this new container for all
the -latest jobs that are still docker-playground based.

Fixes: 82bee6c4 ("jenkins-common: use debian 13 by default")
Change-Id: Id78e445ff93dbe63751f4579a52f122d524e0003
---
A debian-trixie-obs-latest/Dockerfile
A debian-trixie-obs-latest/Makefile
2 files changed, 41 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




diff --git a/debian-trixie-obs-latest/Dockerfile 
b/debian-trixie-obs-latest/Dockerfile
new file mode 100644
index 0000000..691f621
--- /dev/null
+++ b/debian-trixie-obs-latest/Dockerfile
@@ -0,0 +1,38 @@
+ARG    REGISTRY=docker.io
+ARG    UPSTREAM_DISTRO=debian:trixie
+FROM   ${REGISTRY}/${UPSTREAM_DISTRO}
+
+# Arguments used after FROM must be specified again
+ARG    OSMOCOM_REPO_MIRROR="https://downloads.osmocom.org";
+ARG    OSMOCOM_REPO_PATH="packages/osmocom:"
+ARG    
OSMOCOM_REPO="${OSMOCOM_REPO_MIRROR}/${OSMOCOM_REPO_PATH}/latest/Debian_13/"
+ARG    UID
+
+# Copy from common dir
+COPY   .common/respawn.sh /usr/local/bin/respawn.sh
+COPY   .common/Release.key /usr/share/keyrings/osmocom-latest.asc
+
+# Configure build user, disable installing man pages
+# * /usr/local: osmo-python-tests's contrib/jenkins.sh writes there
+# * man pages: without them we avoid waiting for "generating manpages"
+RUN    set -x && \
+       useradd --uid=${UID} -d /build -m build && \
+       chown -R build:build /usr/local && \
+       \
+       echo "path-exclude=/usr/share/man/*" \
+               > /etc/dpkg/dpkg.cfg.d/exclude-man-pages && \
+       rm -rf /usr/share/man/
+
+# Configure Osmocom latest repository, add telnet for debugging
+RUN    set -x && \
+       apt-get update && \
+       apt-get install -y --no-install-recommends \
+               ca-certificates \
+               telnet \
+               && \
+       apt-get clean && \
+       echo "deb [signed-by=/usr/share/keyrings/osmocom-latest.asc] 
$OSMOCOM_REPO ./" \
+               > /etc/apt/sources.list.d/osmocom-latest.list
+
+# Invalidate cache once the repository is updated
+ADD    $OSMOCOM_REPO/Release /tmp/Release
diff --git a/debian-trixie-obs-latest/Makefile 
b/debian-trixie-obs-latest/Makefile
new file mode 100644
index 0000000..bbbc0f3
--- /dev/null
+++ b/debian-trixie-obs-latest/Makefile
@@ -0,0 +1,3 @@
+UPSTREAM_DISTRO=debian:trixie
+DISTRO=debian-trixie
+include ../make/Makefile

--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/41847?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Id78e445ff93dbe63751f4579a52f122d524e0003
Gerrit-Change-Number: 41847
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to