Use argument for ssh test
This commit is contained in:
parent
2dcc36ecd1
commit
149649b6d4
@ -102,12 +102,11 @@ USER frappe
|
|||||||
RUN mkdir -p /home/frappe/.ssh
|
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 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_BRANCH=version-15
|
||||||
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
||||||
ARG ERPNEXT_REPO=ssh://git@githaven.org:2222/Shiloh/brotherton-erpnext.git
|
ARG ERPNEXT_REPO=ssh://git@githaven.org:2222/Shiloh/brotherton-erpnext.git
|
||||||
ARG ERPNEXT_BRANCH=production
|
ARG ERPNEXT_BRANCH=production
|
||||||
|
RUN ssh -T ${ERPNEXT_REPO}
|
||||||
RUN bench init \
|
RUN bench init \
|
||||||
--frappe-branch=${FRAPPE_BRANCH} \
|
--frappe-branch=${FRAPPE_BRANCH} \
|
||||||
--frappe-path=${FRAPPE_PATH} \
|
--frappe-path=${FRAPPE_PATH} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user