aboutsummaryrefslogtreecommitdiffstats
path: root/debian-repo-install-test
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-11-18 16:45:28 +0100
committerlaforge <laforge@osmocom.org>2020-12-01 11:46:20 +0000
commit78ae9377a743db01c6d1b26daf563ef2f8f7eb6e (patch)
treebc20c5faa37763162cb0fc64260d69977f1e01f4 /debian-repo-install-test
parentb83c28fc34c3cabd8ea51bf9dd7a6981b1efd56a (diff)
common: Automatize UPSTREAM_DISTRO name based on image name
Similar to what is already done with DISTRO, which points to given image of ours based on name. This time we do the same with upstream images, such as debian:stretch or centos:centos8. This way, for instance calling docker_images_require "osmo-bsc-latest-centos8" would try to build the osmo-bsc-latest/Dockerfile file starting from a centos8 image. Change-Id: I33cb21aa024396974559fd98f9f3c64e2c351eda
Diffstat (limited to 'debian-repo-install-test')
-rw-r--r--debian-repo-install-test/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian-repo-install-test/Dockerfile b/debian-repo-install-test/Dockerfile
index e718a23..e12da75 100644
--- a/debian-repo-install-test/Dockerfile
+++ b/debian-repo-install-test/Dockerfile
@@ -1,6 +1,7 @@
ARG USER
ARG REGISTRY=docker.io
-FROM ${REGISTRY}/debian:stretch
+ARG UPSTREAM_DISTRO=debian:stretch
+FROM ${REGISTRY}/${UPSTREAM_DISTRO}
COPY Release.key /tmp/Release.key