From c29c17090b9e299eed43e375907654b5ab4d4607 Mon Sep 17 00:00:00 2001
From: remi-filament <30716308+remi-filament@users.noreply.github.com>
Date: Wed, 30 Sep 2020 16:08:16 +0200
Subject: [PATCH] Fix known hosts destination

---
 10.0.Dockerfile    | 2 +-
 12.0.Dockerfile    | 2 +-
 12.0_ml.Dockerfile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/10.0.Dockerfile b/10.0.Dockerfile
index 938b401..b028f27 100644
--- a/10.0.Dockerfile
+++ b/10.0.Dockerfile
@@ -52,7 +52,7 @@ RUN set -x; \
         rm -rf /var/lib/apt/lists/* wkhtmltox.deb
 
 # Add Git Known Hosts
-COPY ./ssh_known_git_hosts ~root/.ssh/known_hosts
+COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
 
 # Install Odoo and remove not French translations and .git directory to limit amount of data used by container
 RUN set -x; \
diff --git a/12.0.Dockerfile b/12.0.Dockerfile
index 3c6d7d9..9e2bd4d 100644
--- a/12.0.Dockerfile
+++ b/12.0.Dockerfile
@@ -48,7 +48,7 @@ RUN set -x; \
         rm -rf /var/lib/apt/lists/* wkhtmltox.deb
 
 # Add Git Known Hosts
-COPY ./ssh_known_git_hosts ~root/.ssh/known_hosts
+COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
 
 # Install Odoo and remove not French translations and .git directory to limit amount of data used by container
 RUN set -x; \
diff --git a/12.0_ml.Dockerfile b/12.0_ml.Dockerfile
index b3e7a32..3e6e65a 100644
--- a/12.0_ml.Dockerfile
+++ b/12.0_ml.Dockerfile
@@ -48,7 +48,7 @@ RUN set -x; \
         rm -rf /var/lib/apt/lists/* wkhtmltox.deb
 
 # Add Git Known Hosts
-COPY ./ssh_known_git_hosts ~root/.ssh/known_hosts
+COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
 
 # Install Odoo and remove not French translations and .git directory to limit amount of data used by container
 RUN set -x; \
-- 
GitLab