Dockerfile: Set the python encoding to UTF-8. This is more of a python2 issue. In python3, *I believe* this is default. This comes up mainly when not using a TTY where stdout can have a determined encoding. See for more details ( <http://www.macfreek.nl/memory/Encoding_of_Python_stdout> ).

This commit is contained in:
John Kirkham 2015-10-08 00:35:59 -04:00
parent 7a5214c8f0
commit 8a4e14a00d

View File

@ -11,6 +11,7 @@ MAINTAINER Project Jupyter <jupyter@googlegroups.com>
ENV LANGUAGE en_US.UTF-8 ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
ENV PYTHONIOENCODING UTF-8
# Python binary and source dependencies # Python binary and source dependencies
RUN apt-get update -qq \ RUN apt-get update -qq \