From 5bdc7280281c422135880cff1db7ec2535be46c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Mon, 28 Jan 2019 17:28:52 +0100 Subject: [PATCH] Don't copy private SSH key into docker image We can mount the .ssh at runtime. This will allow us to push the docker image to dockerhub without exposing any secrects. --- db-migration-worker/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/db-migration-worker/Dockerfile b/db-migration-worker/Dockerfile index 025be88a..d7265ac0 100644 --- a/db-migration-worker/Dockerfile +++ b/db-migration-worker/Dockerfile @@ -4,6 +4,5 @@ RUN apt-get update \ && apt-get -y install --no-install-recommends openssh-client rsync \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -COPY .ssh /root/.ssh/ COPY import.sh .