mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
fix: cap setuptools below v82 to retain pkg_resources
This commit is contained in:
parent
616ffd4177
commit
0edb303091
3 changed files with 6 additions and 3 deletions
|
|
@ -137,7 +137,8 @@ RUN export APP_INSTALL_ARGS="" && \
|
||||||
/home/frappe/frappe-bench && \
|
/home/frappe/frappe-bench && \
|
||||||
cd /home/frappe/frappe-bench && \
|
cd /home/frappe/frappe-bench && \
|
||||||
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 && \
|
||||||
|
bench pip install "setuptools>=71.0.0,<82.0.0"
|
||||||
|
|
||||||
FROM base AS backend
|
FROM base AS backend
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,8 @@ RUN export APP_INSTALL_ARGS="" && \
|
||||||
/home/frappe/frappe-bench && \
|
/home/frappe/frappe-bench && \
|
||||||
cd /home/frappe/frappe-bench && \
|
cd /home/frappe/frappe-bench && \
|
||||||
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 && \
|
||||||
|
bench pip install "setuptools>=71.0.0,<82.0.0"
|
||||||
|
|
||||||
FROM frappe/base:${FRAPPE_BRANCH} AS backend
|
FROM frappe/base:${FRAPPE_BRANCH} AS backend
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,8 @@ RUN bench init \
|
||||||
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} && \
|
||||||
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 && \
|
||||||
|
bench pip install "setuptools>=71.0.0,<82.0.0"
|
||||||
|
|
||||||
FROM base AS erpnext
|
FROM base AS erpnext
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue