mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-30 21:40:19 +02:00
makefile_base.mak: Export HOME in container invocation
This was causing weird bugs in docker-on-OS X which wasn't determining home correctly. (Not really a supported setup)
This commit is contained in:
parent
a556fa1983
commit
5934094828
@ -51,7 +51,7 @@ export CC
|
|||||||
export CXX
|
export CXX
|
||||||
|
|
||||||
# Selected container mode shell
|
# Selected container mode shell
|
||||||
DOCKER_SHELL_BASE = sudo docker run --rm --init -v $(HOME):$(HOME) -w $(CURDIR) \
|
DOCKER_SHELL_BASE = sudo docker run --rm --init -v $(HOME):$(HOME) -w $(CURDIR) -e HOME=$(HOME) \
|
||||||
-v /etc/passwd:/etc/passwd:ro -u $(shell id -u):$(shell id -g) -h $(shell hostname) \
|
-v /etc/passwd:/etc/passwd:ro -u $(shell id -u):$(shell id -g) -h $(shell hostname) \
|
||||||
-v /tmp:/tmp $(SELECT_DOCKER_IMAGE) /dev/init -sg -- /bin/bash
|
-v /tmp:/tmp $(SELECT_DOCKER_IMAGE) /dev/init -sg -- /bin/bash
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user