From 6007ba9c6796cb4817a7c4ba23ba3977fbead5f6 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Thu, 13 Apr 2023 14:48:44 +0200 Subject: [PATCH] update dockerfile with ssh key import --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 73744f6c..85e1458c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY package.json ./ RUN apk update && apk add openssh-client git -COPY .ssh/id_rsa /root/.ssh/id_rsa +COPY id_rsa /root/.ssh/id_rsa RUN chmod 600 ~/.ssh/id_rsa RUN eval "$(ssh-agent -s)" && ssh-add /root/.ssh/id_rsa RUN ssh-keyscan github.com smart-chain-fr/leCoffre-resources.git >> /root/.ssh/known_hosts