Change in docker-playground[master]: debian-bullseye-obs-latest: new image

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Thu Dec 16 12:09:34 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26597 )

Change subject: debian-bullseye-obs-latest: new image
......................................................................

debian-bullseye-obs-latest: new image

Add missing container for -latest tests. Currently this causes the
-latest tests to fail.

Related: OS#4969
Change-Id: I1230e87784bc21b5a6424db0bd8734181ead9bfd
---
A debian-bullseye-obs-latest/Dockerfile
A debian-bullseye-obs-latest/Makefile
M jenkins-common.sh
3 files changed, 30 insertions(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved
  osmith: Verified



diff --git a/debian-bullseye-obs-latest/Dockerfile b/debian-bullseye-obs-latest/Dockerfile
new file mode 100644
index 0000000..fb8cd93
--- /dev/null
+++ b/debian-bullseye-obs-latest/Dockerfile
@@ -0,0 +1,26 @@
+ARG	REGISTRY=docker.io
+ARG	UPSTREAM_DISTRO=debian:bullseye
+FROM	${REGISTRY}/${UPSTREAM_DISTRO}
+# Arguments used after FROM must be specified again
+ARG	OSMOCOM_REPO_MIRROR="http://download.opensuse.org"
+ARG	OSMOCOM_REPO_PATH="repositories/network:/osmocom:"
+ARG	OSMOCOM_REPO="${OSMOCOM_REPO_MIRROR}/${OSMOCOM_REPO_PATH}/latest/Debian_11/"
+
+RUN	apt-get update && \
+	apt-get upgrade -y && \
+	apt-get install -y --no-install-recommends \
+		telnet \
+		gnupg \
+		&& \
+	apt-get clean
+
+COPY	.common/Release.key /tmp/Release.key
+RUN	apt-key add /tmp/Release.key && \
+	rm /tmp/Release.key && \
+	echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-latest.list
+
+# Make respawn.sh part of this image, so it can be used by other images based on it
+COPY	.common/respawn.sh /usr/local/bin/respawn.sh
+
+# Invalidate cache once the repository is updated
+ADD	$OSMOCOM_REPO/Release /tmp/Release
diff --git a/debian-bullseye-obs-latest/Makefile b/debian-bullseye-obs-latest/Makefile
new file mode 100644
index 0000000..736769d
--- /dev/null
+++ b/debian-bullseye-obs-latest/Makefile
@@ -0,0 +1,3 @@
+UPSTREAM_DISTRO=debian:bullseye
+DISTRO=debian-bullseye
+include ../make/Makefile
diff --git a/jenkins-common.sh b/jenkins-common.sh
index 5af91fb..b74b952 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -19,7 +19,7 @@
 	osmo-*-latest-centos8) echo "centos8-obs-latest" ;;
 	osmo-*-centos7) echo "centos7-build" ;;
 	osmo-*-centos8) echo "centos8-build" ;;
-	osmo-*-latest) echo "debian-stretch-obs-latest" ;;
+	osmo-*-latest) echo "debian-bullseye-obs-latest" ;;
 	osmo-*) echo "debian-bullseye-build" ;;
 	ttcn3-*) echo "debian-bullseye-titan" ;;
 	esac

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1230e87784bc21b5a6424db0bd8734181ead9bfd
Gerrit-Change-Number: 26597
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211216/6666b08b/attachment.htm>


More information about the gerrit-log mailing list