diff --git a/2.7/Dockerfile b/2.7/Dockerfile index dd99d7727..6ede619fb 100644 --- a/2.7/Dockerfile +++ b/2.7/Dockerfile @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal RUN mkdir /usr/src/python WORKDIR /usr/src/python +# http://bugs.python.org/issue19846 +# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. +ENV LANG C.UTF-8 + ENV PYTHON_VERSION 2.7.8 RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \ diff --git a/3.3/Dockerfile b/3.3/Dockerfile index 2b4a4c3da..60d213bb2 100644 --- a/3.3/Dockerfile +++ b/3.3/Dockerfile @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal RUN mkdir /usr/src/python WORKDIR /usr/src/python +# http://bugs.python.org/issue19846 +# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. +ENV LANG C.UTF-8 + ENV PYTHON_VERSION 3.3.5 RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \ diff --git a/3.4/Dockerfile b/3.4/Dockerfile index 4fd4a97da..dab31cc42 100644 --- a/3.4/Dockerfile +++ b/3.4/Dockerfile @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal RUN mkdir /usr/src/python WORKDIR /usr/src/python +# http://bugs.python.org/issue19846 +# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. +ENV LANG C.UTF-8 + ENV PYTHON_VERSION 3.4.1 RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \