Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
[xmake]
-version=1.0.13
+version=1.0.14
# https://github.wdf.sap.corp/pages/xmake-ci/User-Guide/Setting_up_a_Build/Release_Procedure/Release_Versions/
[buildplugin]
| 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 \
# smoke test
&& python3 --version
+# Allow global npm packages install without sudo
+ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global
+
WORKDIR /project
USER ${USER}