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.
This commit is contained in:
Robert Schäfer 2019-01-28 17:28:52 +01:00
parent e70d9c959d
commit 5bdc728028

View File

@ -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 .