diff --git a/1.gitclone.sh b/1.gitclone.sh index 888f7a9..3005d71 100755 --- a/1.gitclone.sh +++ b/1.gitclone.sh @@ -1,12 +1,13 @@ #!/usr/bin/env bash set -euo pipefail +source ./modules_OCA.env +mkdir -p odoo-filestore odoo-logs odoo-postgresql custom + + # Downlaod des repo OCA -# -mkdir -p ./custom cd custom - for repo in \ https://github.com/OCA/server-brand.git \ https://github.com/oca/web.git \ @@ -40,16 +41,8 @@ do done cd .. +# Recupération du Dockerfile d'odoo 18 -# Clone de la deniere version v18 de Dockerfile pour Odoo -# recupérer le commit sur l'url -# par exemple : -# URL : https://github.com/odoo/docker/tree/b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe/18.0 -# Commit ! b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe -# - -COMMIT="b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe" -BASE="https://raw.githubusercontent.com/odoo/docker/${COMMIT}/18.0" DEST="./config-odoo/" FILES=(Dockerfile entrypoint.sh odoo.conf wait-for-psql.py)