This commit is contained in:
Sylvain LE GAL 2022-06-27 17:21:15 +02:00
parent 80e5e3ad87
commit bacca4f7c6
2 changed files with 13 additions and 10 deletions

View File

@ -26,23 +26,24 @@ _ODOO_VERSION_TEMPLATES = [
{
"version": 12.0,
"python_major_version": "python3",
"python_minor_version_short": "py37",
# Note: doesn't work with latest available version py37
"python_minor_version_short": "py36",
},
{
"version": 13.0,
"version": 13.0, # OK.
"python_major_version": "python3",
"python_minor_version_short": "py37",
# Note: doesn't work with latest available version py37
"python_minor_version_short": "py36",
},
{
"version": 14.0,
"version": 14.0, # OK
"python_major_version": "python3",
"python_minor_version_short": "py39",
},
{
"version": 15.0,
"version": 15.0, # OK
"python_major_version": "python3",
"python_minor_version_short": "py39",
"python_libraries": ["openupgradelib"],
},
]

View File

@ -1,6 +1,6 @@
FROM ghcr.io/acsone/odoo-bedrock:{{ odoo_version }}-{{python_minor_version_short}}-latest
COPY ./src/odoo /odoo/src/odoo
COPY ./src/odoo/requirements.txt /odoo_requirements.txt
COPY debian_requirements.txt /debian_requirements.txt
COPY python_requirements.txt /python_requirements.txt
@ -12,6 +12,8 @@ RUN apt-get update || true \
# 3. Install extra Python librairies
RUN \
pip install --no-cache-dir \
-r /odoo/src/odoo/requirements.txt \
-f https://wheelhouse.acsone.eu/manylinux2014 \
&& pip install -r python_requirements.txt
-r /odoo_requirements.txt \
-f https://wheelhouse.acsone.eu/manylinux2014\
&& pip install --no-cache-dir \
-r /python_requirements.txt \
-f https://wheelhouse.acsone.eu/manylinux2014