mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
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.
This commit is contained in:
parent
9478eca866
commit
1c8f8b96d9
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue