set HOME inside container to /tmp

This commit is contained in:
1138-4EB 2019-01-02 02:40:42 +01:00
parent 6c17d93aee
commit eb9cef7917

View File

@ -84,10 +84,8 @@ buildAssets () {
rm -rf dist/* rm -rf dist/*
fi; fi;
set +e
yarn install yarn install
yarn build yarn build
set -e
cd $REPO/http cd $REPO/http
rice embed-go rice embed-go
@ -190,8 +188,8 @@ build () {
-v /$(pwd):/src:z \ -v /$(pwd):/src:z \
-w //src \ -w //src \
-e COMMIT_SHA=$COMMIT_SHA \ -e COMMIT_SHA=$COMMIT_SHA \
-e HOME="//tmp" \
-e GOPATH=//tmp/gopath \ -e GOPATH=//tmp/gopath \
-e XDG_CACHE_HOME="//tmp/.cache" \
filebrowser/dev \ filebrowser/dev \
sh -c "./wizard.sh -b" sh -c "./wizard.sh -b"