From 1c8f8b96d9214792574bc5ab82700cd87fcac4ae Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Wed, 17 Apr 2024 21:47:22 +0530 Subject: [PATCH] feat: include HRMS and IC in default image This is most common request for custom apps on docker images. While it's possible to build images with custom apps it's still involved so we can start with including top 1-5% apps at least. --- images/production/Containerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/production/Containerfile b/images/production/Containerfile index c4eeff8b..5fdfaa48 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -102,6 +102,10 @@ 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 HRMS_REPO=https://github.com/frappe/hrms +ARG HRMS_BRANCH=version-15 +ARG IC_REPO=https://github.com/resilient-tech/india-compliance +ARG IC_BRANCH=version-15 RUN bench init \ --frappe-branch=${FRAPPE_BRANCH} \ --frappe-path=${FRAPPE_PATH} \ @@ -112,6 +116,8 @@ 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=${HRMS_BRANCH} hrms ${HRMS_REPO} && \ + bench get-app --branch=${IC_BRANCH} india_compliance ${IC_REPO} && \ echo "{}" > sites/common_site_config.json && \ find apps -mindepth 1 -path "*/.git" | xargs rm -fr