Add $HOME to ./ci/dev/image/run.sh

This commit is contained in:
Anmol Sethi 2020-09-15 10:15:51 -04:00
parent eacca7d692
commit b22f3cb72f
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ node_modules
node-*
/plugins
/lib/coder-cloud-agent
.home

View File

@ -14,7 +14,8 @@ main() {
release-images \
dist \
.cache \
node-*
node-* \
.home
pushd lib/vscode
git clean -xffd

View File

@ -4,11 +4,13 @@ set -euo pipefail
main() {
cd "$(dirname "$0")/../../.."
source ./ci/lib.sh
mkdir -p .home
docker run \
-it \
--rm \
-v "$PWD:/src" \
-e HOME="/src/.home" \
-w /src \
-p 127.0.0.1:8080:8080 \
-u "$(id -u):$(id -g)" \