auto clone third party addons and upgrade docker build

This commit is contained in:
yhaelopez
2023-12-19 21:03:29 -07:00
parent 1a65a71cb0
commit 2de033d5ad
13 changed files with 160 additions and 124 deletions

7
odoo/clone-enterprise.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
if [ -n "$ENTERPRISE_USER" ] && [ -n "$ENTERPRISE_ACCESS_TOKEN" ]; then \
git clone https://${ENTERPRISE_USER}:${ENTERPRISE_ACCESS_TOKEN}@github.com/odoo/enterprise.git ${ENTERPRISE_ADDONS} --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags
fi