Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/381816 )

Change subject: [WIP] Run `slave-scripts/bin/npm-setup.sh` in npm image
......................................................................

[WIP] Run `slave-scripts/bin/npm-setup.sh` in npm image

Change-Id: If5659ca3d9a3be194487cff8c59c4af613e5f978
---
M dockerfiles/npm/Dockerfile
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/16/381816/1

diff --git a/dockerfiles/npm/Dockerfile b/dockerfiles/npm/Dockerfile
index 22f8088..a3dfc05 100644
--- a/dockerfiles/npm/Dockerfile
+++ b/dockerfiles/npm/Dockerfile
@@ -1,3 +1,5 @@
+FROM wmfreleng/slave-scripts:latest AS slave-scripts
+
 FROM wmfreleng/ci-jessie:latest
 
 # Install nodejs-legacy to provide /usr/bin/node alias
@@ -9,7 +11,11 @@
 # DO NOT CHANGE VERSION WITHOUT INVOLVING Krinkle OR hashar
 RUN npm install -g [email protected]
 
+COPY --from=slave-scripts /srv/deployment/integration/slave-scripts 
/srv/deployment/integration/slave-scripts
+
 USER nobody
 
+RUN /srv/deployment/integration/slave-scripts/bin/npm-setup.sh
+
 ENTRYPOINT ["npm"]
 CMD ["--help"]

-- 
To view, visit https://gerrit.wikimedia.org/r/381816
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If5659ca3d9a3be194487cff8c59c4af613e5f978
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to