From 530e8b6e917902a4dfe6d3ee0ab46b639a540181 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Sat, 9 Dec 2017 08:40:21 +0100 Subject: [PATCH] [FIX]Odoo base images with good UTF8 encoding --- odoo/odoo/Dockerfile.10 | 4 ++++ odoo/odoo/Dockerfile.11 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/odoo/odoo/Dockerfile.10 b/odoo/odoo/Dockerfile.10 index 3bc414e..aae5756 100644 --- a/odoo/odoo/Dockerfile.10 +++ b/odoo/odoo/Dockerfile.10 @@ -1,6 +1,10 @@ FROM debian:jessie MAINTAINER Yaltik - Fabien Bourgeois +# 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 + # Odoo dependencies from Debian APT repository RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/odoo/odoo/Dockerfile.11 b/odoo/odoo/Dockerfile.11 index 9f53662..1b427e5 100644 --- a/odoo/odoo/Dockerfile.11 +++ b/odoo/odoo/Dockerfile.11 @@ -1,6 +1,10 @@ FROM python:3.6-stretch MAINTAINER Yaltik - Fabien Bourgeois +# 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 + # Odoo dependencies from Debian APT repository RUN apt-get update \ && apt-get install -y --no-install-recommends \