Revert "Parametize language"
This reverts commit dceb4e4c4e
.
Removed temporarily because quay.io doesn't appear to support
ARG.
This commit is contained in:
parent
a5a21b8d18
commit
d069d03dcf
@ -55,13 +55,10 @@ COPY ./entrypoint.sh /
|
|||||||
COPY ./openerp-server.conf /etc/odoo/
|
COPY ./openerp-server.conf /etc/odoo/
|
||||||
RUN chown odoo /etc/odoo/openerp-server.conf
|
RUN chown odoo /etc/odoo/openerp-server.conf
|
||||||
|
|
||||||
ARG language=en_GB:en
|
RUN locale-gen en_GB.UTF-8
|
||||||
ARG lang=en_GB.UTF-8
|
ENV LANG en_GB.UTF-8
|
||||||
|
ENV LANGUAGE en_GB:en
|
||||||
RUN locale-gen ${lang}
|
ENV LC_ALL en_GB.UTF-8
|
||||||
ENV LANG ${lang}
|
|
||||||
ENV LANGUAGE ${language}
|
|
||||||
ENV LC_ALL ${lang}
|
|
||||||
|
|
||||||
# Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons
|
# Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons
|
||||||
RUN mkdir -p /mnt/extra-addons \
|
RUN mkdir -p /mnt/extra-addons \
|
||||||
|
Loading…
Reference in New Issue
Block a user