From 41fac5ab63d9f9d53cdac636fccc49b0bb67a55e Mon Sep 17 00:00:00 2001 From: lpierson Date: Wed, 27 May 2026 18:19:37 +0000 Subject: [PATCH] Actualiser 2.build.postgresql.sh --- 2.build.postgresql.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/2.build.postgresql.sh b/2.build.postgresql.sh index 911b6fb..c5929a2 100755 --- a/2.build.postgresql.sh +++ b/2.build.postgresql.sh @@ -2,8 +2,12 @@ set -euo pipefail source ./0.variables.env -# dans 1.gitClone se trouvent déjà les adaptations de ports et de containers pour odoo.conf et docker-compose.yml + +echo "" >> ./0.variables.env +echo "export POSTGRES_IMAGE=postgres15-${POSTGRES_PORT}-image" >> ./0.variables.env + + docker build \ -f ./config-postgresql/Dockerfile \ - -t "postgres15-$POSTGRESQL_PORT-image" . + -t ${POSTGRES_IMAGE} .