[Makefile]: Automatically deduce pseudo-TTY option (#830)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
This commit is contained in:
parent
cd601650bf
commit
bc4ee14340
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ SLAVE_IMAGE = sonic-slave-$(USER)
|
|||||||
|
|
||||||
DOCKER_RUN := docker run --rm=true --privileged \
|
DOCKER_RUN := docker run --rm=true --privileged \
|
||||||
-v $(PWD):/sonic \
|
-v $(PWD):/sonic \
|
||||||
-i$(SONIC_SLAVE_TTY)
|
-i$(if $(TERM),t,)
|
||||||
|
|
||||||
DOCKER_BUILD = docker build --no-cache \
|
DOCKER_BUILD = docker build --no-cache \
|
||||||
--build-arg user=$(USER) \
|
--build-arg user=$(USER) \
|
||||||
|
Reference in New Issue
Block a user