From 0b0646e363c47aaadf0f6a75d90bed2e0b1b0f45 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Wed, 13 Mar 2024 11:45:21 -0700 Subject: [PATCH] Add tentative ssh environment to docker image --- images/production/Containerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/images/production/Containerfile b/images/production/Containerfile index 65e412f8..aeb625c3 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -93,13 +93,19 @@ RUN apt-get update \ gcc \ build-essential \ libbz2-dev \ + # for erpnext repo + openssh-ssh \ && rm -rf /var/lib/apt/lists/* USER frappe +ARG SSH_PRIVATE_KEY +RUN mkdir ~/.ssh/ +RUN echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_ed25519 + ARG FRAPPE_BRANCH=version-15 ARG FRAPPE_PATH=https://github.com/frappe/frappe -ARG ERPNEXT_REPO=https://github.com/frappe/erpnext +ARG ERPNEXT_REPO=ssh://git@githaven.org:2222/Shiloh/brotherton-erpnext.git ARG ERPNEXT_BRANCH=version-15 RUN bench init \ --frappe-branch=${FRAPPE_BRANCH} \