mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
get print_designer with bench
This commit is contained in:
parent
f1b5c7b33a
commit
1cd5f57ab1
1 changed files with 3 additions and 0 deletions
|
|
@ -139,6 +139,8 @@ ARG FRAPPE_BRANCH=version-15
|
|||
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
||||
ARG ERPNEXT_REPO=https://github.com/frappe/erpnext
|
||||
ARG ERPNEXT_BRANCH=version-15
|
||||
ARG PRINTDESIGNER_REPO=https://github.com/frappe/print_designer
|
||||
ARG PRINTDESIGNER_BRANCH=develop
|
||||
RUN bench init \
|
||||
--frappe-branch=${FRAPPE_BRANCH} \
|
||||
--frappe-path=${FRAPPE_PATH} \
|
||||
|
|
@ -149,6 +151,7 @@ RUN bench init \
|
|||
/home/frappe/frappe-bench && \
|
||||
cd /home/frappe/frappe-bench && \
|
||||
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 && \
|
||||
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue