From dd34c4eab3c7f0a439f5767926d7821481f7928e Mon Sep 17 00:00:00 2001 From: hoangvv Date: Wed, 8 Jan 2025 01:21:51 +0700 Subject: [PATCH] update --- Makefile | 2 +- setup/init_config.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 36fbb07e1..474900422 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ TAG := $(shell rev-parse --abbrev-ref HEAD) CONTAINER_ID=odoo-${TAG} install: sudo apt -y update && \ - sudo apt install -y python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev + sudo apt install -y build-essential python3-full python3-pip libldap2-dev libpq-dev libsasl2-dev run_test_docker: sudo docker exec ${CONTAINER_ID} odoo --test-tags :TestAccountMove.test_out_invoice_auto_post_monthly,TestAccountMove.test_included_tax --log-level=test --test-enable -d testdb --stop-after-init --config=/etc/odoo/${CONFIG} --xmlrpc-port=8071 && \ sudo docker exec ${CONTAINER_ID} odoo db --config=/etc/odoo/${CONFIG} drop testdb diff --git a/setup/init_config.sh b/setup/init_config.sh index bedfcb199..4e95cf1dc 100755 --- a/setup/init_config.sh +++ b/setup/init_config.sh @@ -12,7 +12,7 @@ PG_USER=nexterp ODOO_ADDONS=./addons ODOO_CONFIG=./etc # System -DEPENDS_PACKAGE=('wget' 'curl' 'git' 'unzip' 'make' 'build-essential' 'wkhtmltopdf') +DEPENDS_PACKAGE=('wget' 'curl' 'git' 'unzip' 'make' 'wkhtmltopdf') DEPENDS_COMMAND=('wget' 'curl' 'git' 'unzip' 'make' 'wkhtmltopdf') ((EUID)) && sudo_cmd="sudo" || sudo_cmd="" readonly MINIMUM_DOCER_VERSION="20"