From f04a503caa58c0c06e4e5fe8c87e28947aab3aed Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 17 Sep 2017 21:07:32 +0530 Subject: [PATCH] Add rsync and git to build_docker_image too. --- tests/build_docker_image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/build_docker_image.py b/tests/build_docker_image.py index 02c9295e..0a020629 100755 --- a/tests/build_docker_image.py +++ b/tests/build_docker_image.py @@ -11,7 +11,7 @@ DOCKERFILE = r""" FROM debian:stable RUN apt-get update RUN \ - apt-get install -y python2.7 openssh-server sudo && \ + apt-get install -y python2.7 openssh-server sudo rsync git && \ apt-get clean RUN \ mkdir /var/run/sshd && \ @@ -27,7 +27,7 @@ RUN \ ( echo 'has-sudo-nopw:y' | chpasswd; ) && \ mkdir ~has-sudo-pubkey/.ssh -COPY data/docker/has-sudo-pubkey.key /home/has-sudo-pubkey/.ssh/authorized_keys +COPY data/docker/has-sudo-pubkey.key.pub /home/has-sudo-pubkey/.ssh/authorized_keys RUN \ chown -R has-sudo-pubkey ~has-sudo-pubkey && \ chmod -R go= ~has-sudo-pubkey