diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-02-11 14:43:40 +0600 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-02-11 15:21:16 +0600 |
commit | 44393058f6ca14dbf42c717fe0fb7f5fd00af513 (patch) | |
tree | 780fc7a63bd092181dce8ab516508b2a793200b7 /make | |
parent | 8e3b3ff43c721326451e357cc4fbb685138df79f (diff) |
make/Makefile: allow overriding '-it' for target 'run'
Allocating a pseudo-TTY (-t, --tty) fails when 'run' is executed
inside of a Jenkins or cron script. This change fixes
ttcn3-bts-test, which invokes 'run' to fetch the config files.
Change-Id: If22f682be4f004c5bb43e65098079a4f4fe6158d
Fixes: If15461240f3037c142c176fc7da745a1701ae3f8
Diffstat (limited to 'make')
-rw-r--r-- | make/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile index b2d344e..20733b0 100644 --- a/make/Makefile +++ b/make/Makefile @@ -38,6 +38,7 @@ OSMO_SIP_BRANCH?=master OSMO_STP_BRANCH?=master OPEN5GS_BRANCH?=main BUILD_ARGS?= +RUN_ARGS?=-it UPSTREAM_DISTRO?=debian:bullseye DISTRO?=debian-bullseye @@ -167,4 +168,4 @@ major-release: tag-major-release release run: - docker run $(RUN_ARGS) -it $(IMAGE) $(RUN_CMD) + docker run $(RUN_ARGS) $(IMAGE) $(RUN_CMD) |