Skip to content

Commit 16d5988

Browse files
committed
[REF] Odoo 11.0: simplify locale settings
locale settings does not need to re-genreate c.utf-8 as it's already included in Debian Stretch. Also LANG is enough to define the locale needed by Odoo. Finaly, apt-get does not really need to be explicitly set in non interactive mode. apt-get is able to do the right thing. Thanks @tianon
1 parent feac9b2 commit 16d5988

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

11.0/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ FROM debian:stretch
22
MAINTAINER Odoo S.A. <[email protected]>
33

44
# Generate locale C.UTF-8 for postgres and general locale data
5-
ENV DEBIAN_FRONTEND noninteractive
6-
RUN apt-get update -qq && apt-get install -y locales -qq
7-
RUN echo 'C.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
8-
RUN dpkg-reconfigure locales && /usr/sbin/update-locale LANG=C.UTF-8
95
ENV LANG C.UTF-8
10-
ENV LANGUAGE C.UTF-8
11-
ENV LC_ALL C.UTF-8
126

137
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
148
RUN set -x; \

0 commit comments

Comments
 (0)