mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
fix: docker build condition for v14
This commit is contained in:
parent
9388f75faf
commit
fac0ce5137
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ ARG PAYMENTS_VERSION=develop
|
|||
ARG PAYMENTS_REPO=https://github.com/frappe/payments
|
||||
ARG ERPNEXT_VERSION
|
||||
ARG ERPNEXT_REPO=https://github.com/frappe/erpnext
|
||||
RUN if [ "$ERPNEXT_VERSION" = "v14"* ] || [ "$ERPNEXT_VERSION" = "develop" ]; then \
|
||||
RUN if [ -z "${ERPNEXT_VERSION##*v14*}" ] || [ "$ERPNEXT_VERSION" = "develop" ]; then \
|
||||
git clone --depth 1 -b ${PAYMENTS_VERSION} ${PAYMENTS_REPO} apps/payments && install-app payments; \
|
||||
fi \
|
||||
&& git clone --depth 1 -b ${ERPNEXT_VERSION} ${ERPNEXT_REPO} apps/erpnext \
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ ARG PAYMENTS_REPO=https://github.com/frappe/payments
|
|||
ARG ERPNEXT_VERSION
|
||||
ARG ERPNEXT_REPO=https://github.com/frappe/erpnext
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
if [ "$ERPNEXT_VERSION" = "v14"* ] || [ "$ERPNEXT_VERSION" = "develop" ]; then \
|
||||
if [ -z "${ERPNEXT_VERSION##*v14*}" ] || [ "$ERPNEXT_VERSION" = "develop" ]; then \
|
||||
git clone --depth 1 -b ${PAYMENTS_VERSION} ${PAYMENTS_REPO} apps/payments && install-app payments; \
|
||||
fi \
|
||||
&& git clone --depth 1 -b ${ERPNEXT_VERSION} ${ERPNEXT_REPO} apps/erpnext \
|
||||
|
|
|
|||
Loading…
Reference in a new issue