jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/585839 )
Change subject: [IMPR] Update Dockerfile to Python 3.5 ......................................................................
[IMPR] Update Dockerfile to Python 3.5
- There were various issues with Python 3.4 and setuptools, pip and some other PyPI packages as well. Docker is supposed to have issueless installation and ready environment, therefore updating to Python 3.5 (supported by Debian Stretch or newer)
Change-Id: Ife2a7e765e0efdbe73b56851992bcf04a080c7cf --- M Dockerfile 1 file changed, 5 insertions(+), 5 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/Dockerfile b/Dockerfile index 8eb855f..e4bcd00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM debian:jessie +FROM debian:stretch
-MAINTAINER Pywikibot Team pywikibot@lists.wikimedia.org +MAINTAINER Pywikibot team pywikibot@lists.wikimedia.org
RUN apt-get update -RUN apt-get install --yes python3.4 python3-pip git libjpeg62-turbo libjpeg62-turbo-dev zlib1g zlib1g-dev locales +RUN apt-get install --yes python3.5 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 @@ -12,11 +12,11 @@ # TODO: Add this to the default PYTHONPATH and PATH? ADD . /srv/pwb
-# pip version in jessie is too old :( +# pip version in stretch is too old :( RUN pip3 install -U pip
RUN pip3 install -r /srv/pwb/requirements.txt RUN pip3 install -r /srv/pwb/dev-requirements.txt RUN pip3 install /srv/pwb/
-CMD /bin/bash +CMD /bin/bash \ No newline at end of file
pywikibot-commits@lists.wikimedia.org