Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/256781
Change subject: Move docker image to directly use Debian Jessie ...................................................................... Move docker image to directly use Debian Jessie This allows us more control, and also fixes permission issues caused by the container not running as root Change-Id: I4885d760ea5afe81b5304f397f951276b764f7d8 --- M Dockerfile 1 file changed, 18 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/grrrit refs/changes/81/256781/1 diff --git a/Dockerfile b/Dockerfile index f6d8bff..39a5631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,20 @@ # See https://hub.docker.com/_/node/ for details -FROM node:4.0.0-onbuild - +FROM debian:jessie MAINTAINER Yuvi Panda <yuvipa...@gmail.com> + +RUN apt-get update +RUN apt-get install --yes npm ca-certificates nodejs-legacy + +ADD . /srv/grrrit + + +WORKDIR /srv/grrrit + +RUN npm install + +# Since ADD adds things as root but we want them to be accessible +# to the grrrit-wm user. This should be fixed when we have our +# own base image +RUN chmod -R 777 /srv/grrrit + +CMD npm start -- To view, visit https://gerrit.wikimedia.org/r/256781 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4885d760ea5afe81b5304f397f951276b764f7d8 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/grrrit Gerrit-Branch: master Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits