mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-02-20 14:50:41 +01:00
Merge pull request #235 from vector-im/dbkr/pass_through_indocker_env_vars
Pass through env vars with special prefix
This commit is contained in:
commit
290907a427
@ -8,7 +8,8 @@ fi
|
||||
|
||||
# Taken from https://www.electron.build/multi-platform-build#docker
|
||||
docker run --rm -ti \
|
||||
--env-file <(env | grep -iE '^BUILDKITE_API_KEY=') \
|
||||
# Pass through any vars prefixed with INDOCKER_, removing the prefix
|
||||
--env-file <(env | grep -E '^INDOCKER_=' | sed -e 's/^INDOCKER_//') \
|
||||
--env ELECTRON_CACHE="/root/.cache/electron" \
|
||||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
||||
-v ${PWD}:/project \
|
||||
|
Loading…
x
Reference in New Issue
Block a user