-
Notifications
You must be signed in to change notification settings - Fork 66
Cleanup PATH variable mangling #1026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
24a0f5e
7f5f1fd
9fa7ca9
68a9b75
8b3a2a0
31f6cb1
8edaa91
14f578f
bcf6c26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -212,6 +212,12 @@ RUN set -ex \ | |
| && python2.7 --version \ | ||
| && python3 --version | ||
|
|
||
| # Allow global npm packages install without sudo | ||
| RUN set -ex \ | ||
| && mkdir ${MTA_USER_HOME}/.npm-global \ | ||
| && chown -R ${MTA_USER}:${MTA_USER} ${MTA_USER_HOME} | ||
| ENV NPM_CONFIG_PREFIX ${MTA_USER_HOME}/.npm-global | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. according to the spec it's
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both are working. The current Dockerfile use space, so let's keep it consistent with the style already used. |
||
|
|
||
| ENV PATH=$PATH:./node_modules/.bin HOME=${MTA_USER_HOME} | ||
|
||
| WORKDIR /project | ||
| USER ${MTA_USER} | ||
| USER ${MTA_USER} | ||
Uh oh!
There was an error while loading. Please reload this page.