build: Only mount what's required inside docker.
This commit is contained in:
parent
4d63345180
commit
ee04127950
1 changed files with 2 additions and 4 deletions
|
@ -52,10 +52,8 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DOCKER_BASE = docker run --rm -e HOME -e USER -e USERID=$(shell id -u) -u $(shell id -u):$(shell id -g) \
|
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 \
|
-v $(HOME):$(HOME) -v $(SRC):$(SRC) -v $(OBJ):$(OBJ) -w $(OBJ) \
|
||||||
-w $(CURDIR) -e PATH=$(PATH) $(DOCKER_CCACHE_FLAG) \
|
$(DOCKER_OPTS) $(STEAMRT_IMAGE)
|
||||||
$(DOCKER_OPTS) \
|
|
||||||
$(STEAMRT_IMAGE)
|
|
||||||
|
|
||||||
STEAMRT_NAME ?= soldier
|
STEAMRT_NAME ?= soldier
|
||||||
ifeq ($(STEAMRT_NAME),soldier)
|
ifeq ($(STEAMRT_NAME),soldier)
|
||||||
|
|
Loading…
Reference in a new issue