disable verbose, add test ssh connection
This commit is contained in:
parent
75852c07e4
commit
3982bcbc6d
@ -101,8 +101,11 @@ USER frappe
|
||||
|
||||
RUN mkdir -p /home/frappe/.ssh && ln -s /run/secrets/user_ssh_key /home/frappe/.ssh/id_ed25519
|
||||
RUN chown -R frappe:frappe /home/frappe/.ssh
|
||||
RUN chmod 600 /home/frappe/.ssh/id_ed25519
|
||||
RUN echo -e "Host *\n\tStrictHostKeyChecking no\n\tIdentityFile ~/.ssh/id_ed25519\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
|
||||
@ -116,7 +119,7 @@ RUN bench init \
|
||||
--verbose \
|
||||
/home/frappe/frappe-bench && \
|
||||
cd /home/frappe/frappe-bench && \
|
||||
bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} --verbose && \
|
||||
bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \
|
||||
echo "{}" > sites/common_site_config.json && \
|
||||
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user