aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/obs/data/build_binpkg.Dockerfile
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-14 14:07:27 +0100
committerlaforge <laforge@osmocom.org>2023-03-22 09:30:53 +0000
commitb55b11d6716c73d59ef80fc786dd92aaee510eca (patch)
tree6cc5fe7e6d455fcd86876e8a5f70cd709774913a /scripts/obs/data/build_binpkg.Dockerfile
parentd6eed85d4453c4c1a2a269b24de893d1b3709e56 (diff)
obs: build_binpkg: add ubuntu 22.04
Add it for debugging a build failure that we only saw on Ubuntu. Related: OS#5946 Change-Id: I4a927447d8f8b89411b93c563fbc6aa8d4998ffa
Diffstat (limited to 'scripts/obs/data/build_binpkg.Dockerfile')
-rw-r--r--scripts/obs/data/build_binpkg.Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile
index 925680d..bd12562 100644
--- a/scripts/obs/data/build_binpkg.Dockerfile
+++ b/scripts/obs/data/build_binpkg.Dockerfile
@@ -16,7 +16,7 @@ RUN useradd --uid=${UID} -m user
# to regenerate the manuals database when installing build dependencies.
# SYS#5818: using almalinux:8 instead of centos:8
RUN case "$DISTRO" in \
- debian*) \
+ debian*|ubuntu*) \
echo "path-exclude=/usr/share/man/*" \
> /etc/dpkg/dpkg.cfg.d/exclude-man-pages && \
rm -rf /usr/share/man/ && \
@@ -59,6 +59,12 @@ RUN case "$DISTRO" in \
echo "deb https://downloads.osmocom.org/packages/osmocom:/master/Debian_11/ ./" \
> /etc/apt/sources.list.d/osmocom-master.list \
;; \
+ ubuntu:22.04) \
+ apt-key add /tmp/Release.key && \
+ rm /tmp/Release.key && \
+ echo "deb https://downloads.osmocom.org/packages/osmocom:/master/xUbuntu_22.04/ ./" \
+ > /etc/apt/sources.list.d/osmocom-master.list \
+ ;; \
almalinux:8) \
{ echo "[network_osmocom_master]"; \
echo "name=osmocom:master"; \