File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal
8
8
RUN mkdir /usr/src/python
9
9
WORKDIR /usr/src/python
10
10
11
+ # http://bugs.python.org/issue19846
12
+ # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
13
+ ENV LANG C.UTF-8
14
+
11
15
ENV PYTHON_VERSION 2.7.8
12
16
13
17
RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal
8
8
RUN mkdir /usr/src/python
9
9
WORKDIR /usr/src/python
10
10
11
+ # http://bugs.python.org/issue19846
12
+ # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
13
+ ENV LANG C.UTF-8
14
+
11
15
ENV PYTHON_VERSION 3.3.5
12
16
13
17
RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ RUN apt-get purge -y python python-minimal python2.7-minimal
8
8
RUN mkdir /usr/src/python
9
9
WORKDIR /usr/src/python
10
10
11
+ # http://bugs.python.org/issue19846
12
+ # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
13
+ ENV LANG C.UTF-8
14
+
11
15
ENV PYTHON_VERSION 3.4.1
12
16
13
17
RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
You can’t perform that action at this time.
0 commit comments