mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 14:45:10 +00:00
fix: remove git remotes for erpnext (#1041)
fix github rate limit error on bench install-app
This commit is contained in:
parent
44d6f237d5
commit
7b193e3392
1 changed files with 2 additions and 1 deletions
|
|
@ -102,7 +102,8 @@ RUN bench init \
|
|||
cd /home/frappe/frappe-bench && \
|
||||
bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \
|
||||
echo "$(jq 'del(.db_host, .redis_cache, .redis_queue, .redis_socketio)' sites/common_site_config.json)" \
|
||||
> sites/common_site_config.json
|
||||
> sites/common_site_config.json && \
|
||||
find apps -name .git -type d -prune | xargs -i git --git-dir {} remote rm upstream
|
||||
|
||||
FROM base as erpnext
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue