jenkins-bot has submitted this change and it was merged.

Change subject: Add Dockerfile
......................................................................


Add Dockerfile

- Based off of latest stable Debian
- Installs all dependencies via pip

Change-Id: Ib7d167ab8354d165d0431503c6beaf9575e52287
---
A Dockerfile
1 file changed, 21 insertions(+), 0 deletions(-)

Approvals:
  John Vandenberg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..ecb4459
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:jessie
+
+MAINTAINER Pywikibot Team <[email protected]>
+
+RUN apt-get update
+RUN apt-get install --yes python3.4 python3-pip git libjpeg62-turbo 
libjpeg62-turbo-dev zlib1g zlib1g-dev locales
+
+# Setup the C.UTF-8 Locale, since otherwise it defaults to an ASCII one
+RUN locale-gen C.UTF-8
+ENV LC_ALL C.UTF-8
+
+# TODO: Add this to the default PYTHONPATH and PATH?
+ADD . /srv/pwb
+
+# pip version in jessie is too old :(
+RUN pip3 install -U pip
+
+RUN pip3 install -r /srv/pwb/requirements.txt
+RUN pip3 install /srv/pwb/
+
+CMD /bin/bash

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7d167ab8354d165d0431503c6beaf9575e52287
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to