From 14d6b62715c20f87b6c163cf531bcd923e028b15 Mon Sep 17 00:00:00 2001 From: gisele-igore Date: Wed, 5 Apr 2023 11:27:09 +0200 Subject: [PATCH] Fix dck --- id_rsa.pub => .ssh/id_rsa.pub | 0 Dockerfile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename id_rsa.pub => .ssh/id_rsa.pub (100%) diff --git a/id_rsa.pub b/.ssh/id_rsa.pub similarity index 100% rename from id_rsa.pub rename to .ssh/id_rsa.pub diff --git a/Dockerfile b/Dockerfile index 11d63f6c..a6faefe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY package.json ./ RUN apk update && apk add openssh-client git -COPY id_rsa /root/.ssh/id_rsa +COPY .ssh/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