This commit is contained in:
Daniel Blanco 2017-10-30 15:14:38 +00:00 committed by GitHub
commit 6e71cc7991
2 changed files with 13 additions and 1 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.idea
.idea/
.DS_Store

View File

@ -1,6 +1,16 @@
FROM debian:stretch
MAINTAINER Odoo S.A. <info@odoo.com>
# 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 'es_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
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 \
@ -32,6 +42,7 @@ RUN set -x; \
&& rm -rf /var/lib/apt/lists/* odoo.deb
# Copy entrypoint script and Odoo configuration file
RUN pip3 install num2words
COPY ./entrypoint.sh /
COPY ./odoo.conf /etc/odoo/
RUN chown odoo /etc/odoo/odoo.conf