Use argument for ssh test

This commit is contained in:
PAlexanderFranklin 2024-03-21 12:53:30 -07:00
parent 2dcc36ecd1
commit 149649b6d4

View File

@ -102,12 +102,11 @@ USER frappe
RUN mkdir -p /home/frappe/.ssh
RUN echo -e "Host *\n\tStrictHostKeyChecking no\n\tIdentityFile /run/secrets/user_ssh_key\n" >> /home/frappe/.ssh/config
RUN ssh -T 'git@githaven.org:2222/Shiloh/brotherton-erpnext.git'
ARG FRAPPE_BRANCH=version-15
ARG FRAPPE_PATH=https://github.com/frappe/frappe
ARG ERPNEXT_REPO=ssh://git@githaven.org:2222/Shiloh/brotherton-erpnext.git
ARG ERPNEXT_BRANCH=production
RUN ssh -T ${ERPNEXT_REPO}
RUN bench init \
--frappe-branch=${FRAPPE_BRANCH} \
--frappe-path=${FRAPPE_PATH} \