mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-22 18:18:57 +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
@ -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 New Issue
Block a user