repositories
/
mbt-docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3269c63
)
Fix permission issue at npm link usage
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 23 Jan 2023 11:03:31 +0000
(12:03 +0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 23 Jan 2023 11:03:31 +0000
(12:03 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 733941de15673ed61f06d7ef6e01e90a22076f89..3dd48fa500256534275832de98f40551bcb07fa3 100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-190,7
+190,7
@@
RUN set -ex \
# Allow global npm packages install without sudo
RUN set -ex \
&& mkdir ${USER_HOME_DIR}/.npm-global \
- && chown
${USER}:${USER} ${USER_HOME_DIR}/.npm-global
+ && chown
-R ${USER}:${USER} ${USER_HOME_DIR}
ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global
WORKDIR /project