diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 9a69b94..2e25c5c 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -11,6 +11,8 @@ RUN set -x; \ npm \ python-support \ python-pyinotify \ + locales-all \ + locales \ && npm install -g less less-plugin-clean-css \ && ln -s /usr/bin/nodejs /usr/bin/node \ && curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \ @@ -35,6 +37,11 @@ COPY ./entrypoint.sh / COPY ./openerp-server.conf /etc/odoo/ RUN chown odoo /etc/odoo/openerp-server.conf +RUN locale-gen en_GB.UTF-8 +ENV LANG en_GB.UTF-8 +ENV LANGUAGE en_GB:en +ENV LC_ALL en_GB.UTF-8 + # Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]