From ee04127950d233e209d31400c0cfa3546efa1e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 16 Oct 2020 13:13:38 +0200 Subject: [PATCH] build: Only mount what's required inside docker. --- build/makefile_base.mak | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/makefile_base.mak b/build/makefile_base.mak index cf5d66e2..cdb044a4 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -52,10 +52,8 @@ else endif DOCKER_BASE = docker run --rm -e HOME -e USER -e USERID=$(shell id -u) -u $(shell id -u):$(shell id -g) \ - -v $(HOME):$(HOME) -v /tmp:/tmp \ - -w $(CURDIR) -e PATH=$(PATH) $(DOCKER_CCACHE_FLAG) \ - $(DOCKER_OPTS) \ - $(STEAMRT_IMAGE) + -v $(HOME):$(HOME) -v $(SRC):$(SRC) -v $(OBJ):$(OBJ) -w $(OBJ) \ + $(DOCKER_OPTS) $(STEAMRT_IMAGE) STEAMRT_NAME ?= soldier ifeq ($(STEAMRT_NAME),soldier)