Use Z option for docker-run volume mount
This is necessary on systems with SELinux to prevent file permission/access errors when building WASM output * cli/src/wasm.rs: Use Z volume mount option for docker-run * script/build-wasm: Likewise.
This commit is contained in:
parent
83f0ea80cf
commit
71d96e813f
2 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ if which emcc > /dev/null && [[ "$force_docker" == "0" ]]; then
|
|||
elif which docker > /dev/null; then
|
||||
emcc="docker run \
|
||||
--rm \
|
||||
-v $(pwd):/src \
|
||||
-v $(pwd):/src:Z \
|
||||
-u $(id -u) \
|
||||
-e EMCC_FORCE_STDLIBS=libc++ \
|
||||
trzeci/emscripten-slim \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue