Skip to content
Snippets Groups Projects
Commit 2eb685bd authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[UPD] use Python 3.12

parent e8981764
Branches
No related tags found
No related merge requests found
FROM python:3.11-slim-bookworm AS builder FROM python:3.12-slim-bookworm AS builder
RUN set -x; \ RUN set -x; \
apt-get update &&\ apt-get update &&\
apt-get install -y --no-install-recommends build-essential git libfreetype-dev libldap2-dev libpq-dev libsasl2-dev libxml2-dev libxslt1-dev &&\ apt-get install -y --no-install-recommends build-essential curl git libldap2-dev libpq-dev libsasl2-dev &&\
pip install wheel &&\ pip install wheel &&\
pip wheel --wheel-dir=/svc/wheels -r https://raw.githubusercontent.com/oca/OCB/17.0/requirements.txt &&\ pip wheel --wheel-dir=/svc/wheels -r https://raw.githubusercontent.com/oca/OCB/17.0/requirements.txt &&\
# astor required by base_view_inheritance_extension # astor required by base_view_inheritance_extension
...@@ -10,10 +10,10 @@ RUN set -x; \ ...@@ -10,10 +10,10 @@ RUN set -x; \
# python-stdnum>=1.18 required by l10n_fr_siret and l10n_fr_siret_lookup # python-stdnum>=1.18 required by l10n_fr_siret and l10n_fr_siret_lookup
# PyYAML required by custom scripts for adding modules (https://sources.le-filament.com/lefilament/ansible-roles/docker_odoo/-/tree/master/templates) # PyYAML required by custom scripts for adding modules (https://sources.le-filament.com/lefilament/ansible-roles/docker_odoo/-/tree/master/templates)
# zxcvbn required by password_security # zxcvbn required by password_security
pip wheel --wheel-dir=/svc/wheels astor git+https://github.com/OCA/openupgradelib.git@master phonenumbers python-stdnum>=1.18 PyYAML zxcvbn pip wheel --wheel-dir=/svc/wheels astor git+https://github.com/OCA/openupgradelib.git@master phonenumbers==8.13.40 python-stdnum==1.20 PyYAML==6.0.1 zxcvbn==4.4.28
FROM python:3.11-slim-bookworm AS final FROM python:3.12-slim-bookworm AS final
ENV LANG=C.UTF-8 \ ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \ LC_ALL=C.UTF-8 \
PGDATABASE=odoo PGDATABASE=odoo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment