debian10-repo-install-test: new container

Related: OS#4969
Change-Id: I7addb30aa3f8564dcbdc3f6cf2e2e0cfdf4dd02d
This commit is contained in:
Oliver Smith 2021-01-20 16:42:40 +01:00 committed by osmith
parent 26bd12d73b
commit 4407e0e3aa
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
ARG USER
ARG REGISTRY=docker.io
ARG UPSTREAM_DISTRO=debian:buster
FROM ${REGISTRY}/${UPSTREAM_DISTRO}
# ca-certificates: needed for limesuite-images post-install script
RUN apt-get update && \
apt-get install -y --no-install-recommends \
aptitude \
ca-certificates \
gnupg \
systemd

View File

@ -0,0 +1 @@
include ../make/Makefile

View File

@ -22,6 +22,7 @@ docker_upstream_distro_from_image_name() {
case "$1" in case "$1" in
osmo-*-centos8) echo "centos:centos8"; ;; osmo-*-centos8) echo "centos:centos8"; ;;
centos8-*) echo "centos:centos8" ;; centos8-*) echo "centos:centos8" ;;
debian10-*) echo "debian:buster" ;;
*) echo "debian:stretch" ;; *) echo "debian:stretch" ;;
esac esac
} }