From ae23f2831228accc120ccf3397d87563fed15dce Mon Sep 17 00:00:00 2001 From: Malay Gondalia <134581231+malay-gondalia@users.noreply.github.com> Date: Fri, 1 Mar 2024 11:30:27 +0530 Subject: [PATCH] Updated custom Containerfile to solve custom app download issue Updated custom Containerfile to solve custom app download issue as there was error downloading custom apps from user git --- images/custom/Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/images/custom/Containerfile b/images/custom/Containerfile index a7c0fd38..b008d977 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -110,6 +110,7 @@ ARG FRAPPE_PATH=https://github.com/frappe/frappe RUN export APP_INSTALL_ARGS="" && \ if [ -n "${APPS_JSON_BASE64}" ]; then \ export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; \ + cat /opt/frappe/apps.json | jq -r '.[] | "bench get-app --branch " + .branch + " --dev --ignore-apps-file " + .url' | sh; \ fi && \ bench init ${APP_INSTALL_ARGS}\ --frappe-branch=${FRAPPE_BRANCH} \