[Makefile]: Add --no-cache to docker build (#352)

Option was removed by mistake in 38b9eb1829

Signed-off-by: marian-pritsak <marianp@mellanox.com>
This commit is contained in:
Marian Pritsak 2017-03-02 00:25:44 +02:00 committed by lguohan
parent 38b9eb1829
commit 7d10892dce

View File

@ -16,7 +16,7 @@ DOCKER_RUN := docker run --rm=true --privileged \
-v $(PWD):/sonic \ -v $(PWD):/sonic \
-i$(SONIC_SLAVE_TTY) -i$(SONIC_SLAVE_TTY)
DOCKER_BUILD = docker build \ DOCKER_BUILD = docker build --no-cache \
--build-arg user=$(USER) \ --build-arg user=$(USER) \
--build-arg uid=$(shell id -u) \ --build-arg uid=$(shell id -u) \
--build-arg guid=$(shell id -g) \ --build-arg guid=$(shell id -g) \