mirror of
https://github.com/element-hq/element-desktop
synced 2025-04-15 17:43:39 +02:00
Fix docker variable passthrough
This commit is contained in:
parent
290907a427
commit
71134c448d
@ -7,9 +7,9 @@ if [ $? != 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Taken from https://www.electron.build/multi-platform-build#docker
|
# Taken from https://www.electron.build/multi-platform-build#docker
|
||||||
docker run --rm -ti \
|
|
||||||
# Pass through any vars prefixed with INDOCKER_, removing the prefix
|
# Pass through any vars prefixed with INDOCKER_, removing the prefix
|
||||||
--env-file <(env | grep -E '^INDOCKER_=' | sed -e 's/^INDOCKER_//') \
|
docker run --rm -ti \
|
||||||
|
--env-file <(env | grep -E '^INDOCKER_' | sed -e 's/^INDOCKER_//') \
|
||||||
--env ELECTRON_CACHE="/root/.cache/electron" \
|
--env ELECTRON_CACHE="/root/.cache/electron" \
|
||||||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
||||||
-v ${PWD}:/project \
|
-v ${PWD}:/project \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user