[FIX]Odoo 10 on C7 : needs to trust pypi hosts

This commit is contained in:
Fabien BOURGEOIS 2024-06-09 09:26:24 +02:00
parent 5fb72a510f
commit 7804999ebb

View File

@ -20,7 +20,7 @@ RUN yum -y groupinstall "Development Tools" && \
# Install NPM dependencies and Python ones
RUN npm install -g less@2 less-plugin-clean-css@1.5.1 && \
pip install --no-cache-dir -U pip==20.3.4 setuptools==44.1.1
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --no-cache-dir -U pip==20.3.4 setuptools==44.1.1
# Create odoo user
RUN useradd odoo -md /opt/odoo