aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-01-20 16:42:40 +0100
committerosmith <osmith@sysmocom.de>2021-01-25 09:24:03 +0000
commit4407e0e3aa7c306d797b1d14dff853394e145a98 (patch)
treea40020aa99d99de98646228bf0a23f8ddeab227c
parent26bd12d73bd50bfdd543c177f442b70ae2496f61 (diff)
debian10-repo-install-test: new container
-rw-r--r--debian10-repo-install-test/Dockerfile13
-rw-r--r--debian10-repo-install-test/Makefile1
-rw-r--r--jenkins-common.sh1
3 files changed, 15 insertions, 0 deletions
diff --git a/debian10-repo-install-test/Dockerfile b/debian10-repo-install-test/Dockerfile
new file mode 100644
index 0000000..212cdc9
--- /dev/null
+++ b/debian10-repo-install-test/Dockerfile
@@ -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
diff --git a/debian10-repo-install-test/Makefile b/debian10-repo-install-test/Makefile
new file mode 100644
index 0000000..8d0e10b
--- /dev/null
+++ b/debian10-repo-install-test/Makefile
@@ -0,0 +1 @@
+include ../make/Makefile
diff --git a/jenkins-common.sh b/jenkins-common.sh
index e172a4f..1cfbbfc 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -22,6 +22,7 @@ docker_upstream_distro_from_image_name() {
case "$1" in
osmo-*-centos8) echo "centos:centos8"; ;;
centos8-*) echo "centos:centos8" ;;
+ debian10-*) echo "debian:buster" ;;
*) echo "debian:stretch" ;;
esac
}