[FIX]Odoo base images with good UTF8 encoding

This commit is contained in:
Fabien BOURGEOIS 2017-12-09 08:40:21 +01:00
parent 0185f00bb5
commit 530e8b6e91
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,10 @@
FROM debian:jessie FROM debian:jessie
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com> MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# 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 # Odoo dependencies from Debian APT repository
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \

View File

@ -1,6 +1,10 @@
FROM python:3.6-stretch FROM python:3.6-stretch
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com> MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# 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 # Odoo dependencies from Debian APT repository
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \