Skip to content

Commit

Permalink
Set GID to build users group id so that npm doesn't default to the ro…
Browse files Browse the repository at this point in the history
…ot GID (#483)

* Set GID variable to build users group id so that npm doesn't default to
the root GID

* Set the correct GID via the --user flag instead of only setting the
environment variable
  • Loading branch information
Crazybus authored Mar 9, 2018
1 parent ab8b98b commit 330228a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jsnext:main": "src",
"scripts": {
"start": "webpack-dev-server --port 8030 --inline --hot --config=src-docs/webpack.config.js",
"test-docker": "docker run --rm -i --user=$UID -e HOME=/tmp -v $(pwd):/app -w /app node:8 bash -c 'npm config set spin false && yarn && npm run test'",
"test-docker": "docker run --rm -i --user=$UID:$UID -e HOME=/tmp -v $(pwd):/app -w /app node:8 bash -c 'npm config set spin false && yarn && npm run test'",
"sync-docs": "node ./scripts/docs-sync.js",
"build-docs": "npm run build && webpack --config=src-docs/webpack.config.js",
"build": "node ./scripts/compile-clean.js && node ./scripts/compile-eui.js && node ./scripts/compile-scss.js",
Expand Down

0 comments on commit 330228a

Please sign in to comment.