get print_designer with bench

This commit is contained in:
Roland 2025-05-31 13:57:25 +02:00 committed by GitHub
parent f1b5c7b33a
commit 1cd5f57ab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,6 +139,8 @@ ARG FRAPPE_BRANCH=version-15
ARG FRAPPE_PATH=https://github.com/frappe/frappe ARG FRAPPE_PATH=https://github.com/frappe/frappe
ARG ERPNEXT_REPO=https://github.com/frappe/erpnext ARG ERPNEXT_REPO=https://github.com/frappe/erpnext
ARG ERPNEXT_BRANCH=version-15 ARG ERPNEXT_BRANCH=version-15
ARG PRINTDESIGNER_REPO=https://github.com/frappe/print_designer
ARG PRINTDESIGNER_BRANCH=develop
RUN bench init \ RUN bench init \
--frappe-branch=${FRAPPE_BRANCH} \ --frappe-branch=${FRAPPE_BRANCH} \
--frappe-path=${FRAPPE_PATH} \ --frappe-path=${FRAPPE_PATH} \
@ -149,6 +151,7 @@ RUN bench init \
/home/frappe/frappe-bench && \ /home/frappe/frappe-bench && \
cd /home/frappe/frappe-bench && \ cd /home/frappe/frappe-bench && \
bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \ bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \
bench get-app --branch=${PRINTDESIGNER_BRANCH} ${PRINTDESIGNER_REPO} && \
echo "{}" > sites/common_site_config.json && \ echo "{}" > sites/common_site_config.json && \
find apps -mindepth 1 -path "*/.git" | xargs rm -fr find apps -mindepth 1 -path "*/.git" | xargs rm -fr