diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-18 16:45:28 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-12-01 11:46:20 +0000 |
commit | 78ae9377a743db01c6d1b26daf563ef2f8f7eb6e (patch) | |
tree | bc20c5faa37763162cb0fc64260d69977f1e01f4 /osmo-stp-latest | |
parent | b83c28fc34c3cabd8ea51bf9dd7a6981b1efd56a (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 'osmo-stp-latest')
-rw-r--r-- | osmo-stp-latest/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/osmo-stp-latest/Dockerfile b/osmo-stp-latest/Dockerfile index aca833f..6651c44 100644 --- a/osmo-stp-latest/Dockerfile +++ b/osmo-stp-latest/Dockerfile @@ -1,5 +1,6 @@ ARG REGISTRY=docker.io -FROM ${REGISTRY}/debian:stretch +ARG UPSTREAM_DISTRO=debian:stretch +FROM ${REGISTRY}/${UPSTREAM_DISTRO} MAINTAINER Harald Welte <laforge@gnumonks.org> |