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:
13c4efc
)
Allow npm link
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 16 Jan 2023 23:01:17 +0000
(
00:01
+0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 16 Jan 2023 23:01:17 +0000
(
00:01
+0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 948631fd7c0e92976e9d14be10294414b5da3555..3fe3d339f8a280654ac55cde84ec596da54d9d7d 100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-71,6
+71,8
@@
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
| sort -u \
| xargs -r apt-mark manual \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
+ # for npm link
+ && chown -R ${USER}:${USER} /usr/local/lib/node_modules \
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
# smoke tests
&& node --version \