aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-30 08:24:41 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-30 09:14:41 +0200
commit2a628add9c6e4ad6999b443c9650a171a390490e (patch)
tree81f0dca9f6315d272e3b630fcdbeeb9162b19cd1 /make
parent5505b95a150d5149c7b26b466db9eb7f9a097070 (diff)
make/Makefile: add DISTRO argument
Prepare for distro-specific osmo-* images. While at it, put each --build-arg on a separate line for readability. Related: OS#4564 Change-Id: I1bf1c46295035a073e440faea3696ce53e7d7985
Diffstat (limited to 'make')
-rw-r--r--make/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile
index b10c665..0dd111c 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -32,6 +32,7 @@ OSMO_SGSN_BRANCH?=master
OSMO_SIP_BRANCH?=master
OSMO_STP_BRANCH?=master
PULL?=
+DISTRO?=debian-stretch
RELEASE_SUPPORT := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))/.make-release-support
IMAGE?=$(REGISTRY_HOST)/$(USER)/$(NAME)
@@ -55,7 +56,10 @@ post-push:
docker-build: .release
- docker build --build-arg USER=$(USERNAME) --build-arg OSMO_TTCN3_BRANCH=$(OSMO_TTCN3_BRANCH) \
+ docker build \
+ --build-arg USER=$(USERNAME) \
+ --build-arg OSMO_TTCN3_BRANCH=$(OSMO_TTCN3_BRANCH) \
+ --build-arg DISTRO=$(DISTRO) \
--build-arg OSMO_BB_BRANCH=$(OSMO_BB_BRANCH) \
--build-arg OSMO_BSC_BRANCH=$(OSMO_BSC_BRANCH) \
--build-arg OSMO_BTS_BRANCH=$(OSMO_BTS_BRANCH) \