make: Add OPEN5GS_BRANCH build arg

Change-Id: I29f85a18f5629e50dc1db527e931a248ab69f8e4
This commit is contained in:
Pau Espin 2022-02-03 18:53:52 +01:00
parent 27031af313
commit 9e9066cca8
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ OSMO_PCU_BRANCH?=master
OSMO_SGSN_BRANCH?=master
OSMO_SIP_BRANCH?=master
OSMO_STP_BRANCH?=master
OPEN5GS_BRANCH?=main
PULL?=
UPSTREAM_DISTRO?=debian:bullseye
DISTRO?=debian-bullseye
@ -112,6 +113,7 @@ docker-build: .release
--build-arg OSMO_SGSN_BRANCH=$(OSMO_SGSN_BRANCH) \
--build-arg OSMO_SIP_BRANCH=$(OSMO_SIP_BRANCH) \
--build-arg OSMO_STP_BRANCH=$(OSMO_STP_BRANCH) \
--build-arg OPEN5GS_BRANCH=$(OPEN5GS_BRANCH) \
$(PULL) -t $(IMAGE):latest .
@DOCKER_MAJOR=$(shell docker -v | sed -e 's/.*version //' -e 's/,.*//' | cut -d\. -f1) ; \
DOCKER_MINOR=$(shell docker -v | sed -e 's/.*version //' -e 's/,.*//' | cut -d\. -f2) ; \