Fix docker commands to work on ARM systems like macOS M1 (#1408)
This commit is contained in:
committed by
GitHub
parent
5f722691e7
commit
29550847f9
@@ -11,6 +11,7 @@ fi
|
||||
# Taken from https://www.electron.build/multi-platform-build#docker
|
||||
# Pass through any vars prefixed with INDOCKER_, removing the prefix
|
||||
docker run --rm -ti \
|
||||
--platform linux/amd64 \
|
||||
--env-file <(env | grep -E '^INDOCKER_' | sed -e 's/^INDOCKER_//') \
|
||||
--env ELECTRON_CACHE="/root/.cache/electron" \
|
||||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
||||
|
||||
Reference in New Issue
Block a user