Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/247032

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, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/32/247032/1

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..c204134
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,18 @@
+FROM debian:jessie
+
+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
+
+CMD /bin/bash

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7d167ab8354d165d0431503c6beaf9575e52287
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>

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

Reply via email to