From 6299d0bc20778260f64ac96eafb058c5b81df4df Mon Sep 17 00:00:00 2001 From: xoryouyou Date: Sun, 19 Feb 2017 20:20:03 +0100 Subject: [PATCH] Updated locales to be able to print utf-8 from python. --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c6ee94f..b3205c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nvidia/cuda:8.0 +FROM nvidia/cuda:8.0-cudnn5-runtime-ubuntu16.04 MAINTAINER Till von Ahnen "xoryouyou@gmail.com" @@ -15,3 +15,9 @@ RUN pip3 install --upgrade pip # install everything needed RUN pip3 install tensorflow-gpu numpy scipy scikit-learn pillow h5py keras + +# setup missing locale +RUN locale-gen en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8