debian-bookworm-obs-latest: new container
Related: OS#6057 Change-Id: Ie30135362e37558010f9894bb80a3684786f5aeechanges/42/33742/2
parent
f0cd1c2d58
commit
a4fd5ba37b
|
@ -0,0 +1,26 @@
|
|||
ARG REGISTRY=docker.io
|
||||
ARG UPSTREAM_DISTRO=debian:bookworm
|
||||
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_12/"
|
||||
|
||||
# Copy from common dir
|
||||
COPY .common/respawn.sh /usr/local/bin/respawn.sh
|
||||
COPY .common/Release.key /usr/share/keyrings/osmocom-latest.asc
|
||||
|
||||
# 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
|
|
@ -0,0 +1,3 @@
|
|||
UPSTREAM_DISTRO=debian:bookworm
|
||||
DISTRO=debian-bookworm
|
||||
include ../make/Makefile
|
Loading…
Reference in New Issue