diff --git a/17.0.Dockerfile b/17.0.Dockerfile index d22f13c7b747d7b3f6403dac6ef707c3c23db86b..499632b2953eeb07ca9bafe91fa6071c4cce9681 100644 --- a/17.0.Dockerfile +++ b/17.0.Dockerfile @@ -1,7 +1,7 @@ -FROM python:3.11-slim-bookworm AS builder +FROM python:3.12-slim-bookworm AS builder RUN set -x; \ 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 wheel --wheel-dir=/svc/wheels -r https://raw.githubusercontent.com/oca/OCB/17.0/requirements.txt &&\ # astor required by base_view_inheritance_extension @@ -10,10 +10,10 @@ RUN set -x; \ # 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) # 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 \ LC_ALL=C.UTF-8 \ PGDATABASE=odoo