Actualiser 1.gitclone.sh
This commit is contained in:
parent
880666c149
commit
008abfcf2a
1 changed files with 5 additions and 12 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue