Skip to content

Commit

Permalink
[Makefile]: Automatically deduce pseudo-TTY option (#830)
Browse files Browse the repository at this point in the history
Signed-off-by: marian-pritsak <marianp@mellanox.com>
  • Loading branch information
marian-pritsak authored Jul 24, 2017
1 parent cd60165 commit bc4ee14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SLAVE_IMAGE = sonic-slave-$(USER)

DOCKER_RUN := docker run --rm=true --privileged \
-v $(PWD):/sonic \
-i$(SONIC_SLAVE_TTY)
-i$(if $(TERM),t,)

DOCKER_BUILD = docker build --no-cache \
--build-arg user=$(USER) \
Expand Down

0 comments on commit bc4ee14

Please sign in to comment.