Add git config

This commit is contained in:
PAlexanderFranklin 2024-03-21 13:10:49 -07:00
parent 69daa7566e
commit 714ce32c08

View File

@ -101,6 +101,7 @@ 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 git config -g core.sshCommand 'ssh -i /run/secrets/user_ssh_key'
ARG FRAPPE_BRANCH=version-15
ARG FRAPPE_PATH=https://github.com/frappe/frappe
@ -124,8 +125,6 @@ FROM base as erpnext
USER frappe
RUN mkdir ~/testFolder
COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench
WORKDIR /home/frappe/frappe-bench