Skip to content

Commit

Permalink
[FIX] Odoo 11.0: add a locale to prevent ascii decode errors
Browse files Browse the repository at this point in the history
Closes odoo#129
  • Loading branch information
Danisan authored and d-fence committed Oct 30, 2017
1 parent 199c206 commit bfe3143
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 11.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
FROM debian:stretch
MAINTAINER Odoo S.A. <[email protected]>

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

# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN set -x; \
apt-get update \
Expand Down

0 comments on commit bfe3143

Please sign in to comment.