Hashar has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/395555 )
Change subject: Add python-minimal to npm base images ...................................................................... Add python-minimal to npm base images node-gyp requires python else: stack Error: Can't find Python executable "python", you can set the PYTHON env variable. Change-Id: I45ecfff17b08c3be170d0d770511ee22b3cf4fe5 --- M dockerfiles/npm-stretch/Dockerfile M dockerfiles/npm/Dockerfile 2 files changed, 7 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/55/395555/1 diff --git a/dockerfiles/npm-stretch/Dockerfile b/dockerfiles/npm-stretch/Dockerfile index 872d9f2..4324300 100644 --- a/dockerfiles/npm-stretch/Dockerfile +++ b/dockerfiles/npm-stretch/Dockerfile @@ -6,9 +6,12 @@ # Manually link since COPY copies symlink destination instead of the actual symlink RUN ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm +# python-minimal for node-gyp +# ruby/etc for jsduck RUN apt-get update && \ apt-get install --yes \ nodejs-legacy \ + python-minimal \ ruby ruby-dev rubygems-integration build-essential && \ gem install --no-rdoc --no-ri jsduck && \ apt-get remove -y build-essential && apt-get autoremove -y && \ diff --git a/dockerfiles/npm/Dockerfile b/dockerfiles/npm/Dockerfile index 9b68bd8..5518834 100644 --- a/dockerfiles/npm/Dockerfile +++ b/dockerfiles/npm/Dockerfile @@ -1,10 +1,13 @@ FROM wmfreleng/ci-jessie:latest # Install nodejs-legacy to provide /usr/bin/node alias +# +# python-minimal for node-gyp +# ruby/etc for jsduck RUN apt-get update && \ apt-get install --yes \ nodejs-legacy npm \ - # ruby/etc for jsduck + python-minimal \ ruby ruby2.1 ruby2.1-dev rubygems-integration build-essential && \ gem install --no-rdoc --no-ri jsduck && \ apt-get remove -y build-essential && apt-get autoremove -y && \ -- To view, visit https://gerrit.wikimedia.org/r/395555 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I45ecfff17b08c3be170d0d770511ee22b3cf4fe5 Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits