add locale installation
This commit is contained in:
parent
5b8742365a
commit
030e378f1c
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
FROM odoo:16.0
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install -y locales
|
||||||
|
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||||
|
sed -i -e 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||||
|
dpkg-reconfigure --frontend=noninteractive locales
|
||||||
|
|
||||||
|
USER odoo
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: "odoo:${ODOO_VERSION}"
|
image: "odoo:${ODOO_VERSION}"
|
||||||
|
build: .
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue