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: I1230e87784bc21b5a6424db0bd8734181ead9bfdchanges/97/26597/1
parent
14221979b4
commit
5118a44ed8
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
UPSTREAM_DISTRO=debian:bullseye
|
||||
DISTRO=debian-bullseye
|
||||
include ../make/Makefile
|
|
@ -19,7 +19,7 @@ docker_depends() {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue