[FIX] 11.0~13.0: install phonenumbers and upgrade pip
While phonenumbers is not required to run Odoo, it's a requested nice to have. Upgrading pip solves a red warning issued when pip installs docopt. closes #245 and closes #168
This commit is contained in:
parent
6e7938ab6a
commit
def32c7106
@ -55,7 +55,8 @@ RUN set -x; \
|
|||||||
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
||||||
|
|
||||||
# Copy entrypoint script and Odoo configuration file
|
# Copy entrypoint script and Odoo configuration file
|
||||||
RUN pip3 install num2words xlwt
|
RUN pip3 install --upgrade pip
|
||||||
|
RUN pip3 install num2words xlwt phonenumbers
|
||||||
COPY ./entrypoint.sh /
|
COPY ./entrypoint.sh /
|
||||||
COPY ./odoo.conf /etc/odoo/
|
COPY ./odoo.conf /etc/odoo/
|
||||||
RUN chown odoo /etc/odoo/odoo.conf
|
RUN chown odoo /etc/odoo/odoo.conf
|
||||||
|
@ -69,7 +69,8 @@ RUN set -x; \
|
|||||||
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
||||||
|
|
||||||
# Copy entrypoint script and Odoo configuration file
|
# Copy entrypoint script and Odoo configuration file
|
||||||
RUN pip3 install num2words xlwt
|
RUN pip3 install --upgrade pip
|
||||||
|
RUN pip3 install num2words xlwt phonenumbers
|
||||||
COPY ./entrypoint.sh /
|
COPY ./entrypoint.sh /
|
||||||
COPY ./odoo.conf /etc/odoo/
|
COPY ./odoo.conf /etc/odoo/
|
||||||
RUN chown odoo /etc/odoo/odoo.conf
|
RUN chown odoo /etc/odoo/odoo.conf
|
||||||
|
@ -60,7 +60,8 @@ RUN set -x; \
|
|||||||
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
||||||
|
|
||||||
# Copy entrypoint script and Odoo configuration file
|
# Copy entrypoint script and Odoo configuration file
|
||||||
RUN pip3 install num2words xlwt
|
RUN pip3 install --upgrade pip
|
||||||
|
RUN pip3 install num2words xlwt phonenumbers
|
||||||
COPY ./entrypoint.sh /
|
COPY ./entrypoint.sh /
|
||||||
COPY ./odoo.conf /etc/odoo/
|
COPY ./odoo.conf /etc/odoo/
|
||||||
RUN chown odoo /etc/odoo/odoo.conf
|
RUN chown odoo /etc/odoo/odoo.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user