osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/docker-playground/+/40024?usp=email )
Change subject: debian-buster-obs-latest: new container
......................................................................
debian-buster-obs-latest: new container
Add this container in preparation for running
ttcn3-gbproxy-test-fr-latest with debian 10.
Related: OS#6494#note-19
Change-Id: I38c3ecb5cd40a6f67901388068ec1c8316a70fd4
---
A debian-buster-obs-latest/Dockerfile
A debian-buster-obs-latest/Makefile
2 files changed, 41 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/24/40024/1
diff --git a/debian-buster-obs-latest/Dockerfile b/debian-buster-obs-latest/Dockerfile
new file mode 100644
index 0000000..4a0d3b0
--- /dev/null
+++ b/debian-buster-obs-latest/Dockerfile
@@ -0,0 +1,38 @@
+ARG REGISTRY=docker.io
+ARG UPSTREAM_DISTRO=debian:buster
+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_10/"
+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-buster-obs-latest/Makefile b/debian-buster-obs-latest/Makefile
new file mode 100644
index 0000000..67066b3
--- /dev/null
+++ b/debian-buster-obs-latest/Makefile
@@ -0,0 +1,3 @@
+UPSTREAM_DISTRO=debian:buster
+DISTRO=debian-buster
+include ../make/Makefile
--
To view, visit
https://gerrit.osmocom.org/c/docker-playground/+/40024?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I38c3ecb5cd40a6f67901388068ec1c8316a70fd4
Gerrit-Change-Number: 40024
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>