Robert Schäfer f0c18e2cca Clean up Dockerfile, add known_hosts file
@appinteractive it's troublesome to add the SSH private key via
environment variable. You have to convert newlines to spaces and convert
them back - which I think is error prone. I hope we can transfer the
private key file on to our deployed container later on.
2019-01-18 21:07:24 +01:00

8 lines
116 B
Docker

FROM mongo:latest
RUN apt-get update
RUN apt-get -y install openssh-client
COPY .ssh /root/.ssh/
COPY import.sh .