summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraiordache <anca.iordache@docker.com>2020-10-06 14:19:18 +0200
committeraiordache <anca.iordache@docker.com>2020-10-06 14:19:18 +0200
commitd6fe4bd064ec2d1a8675869752d575107259178a (patch)
tree1d3280b9322536bb6fc8b388f952efdc95fe26d9
parent593d0c97d337a9189c92b57a4ab330d232a6a748 (diff)
downloaddocker-py-d6fe4bd064ec2d1a8675869752d575107259178a.tar.gz
remove ssh-client install from py3 Dockerfile
Signed-off-by: aiordache <anca.iordache@docker.com>
-rw-r--r--Dockerfile-py34
-rw-r--r--tests/Dockerfile2
2 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile-py3 b/Dockerfile-py3
index 7beeb35..efca67e 100644
--- a/Dockerfile-py3
+++ b/Dockerfile-py3
@@ -14,9 +14,7 @@ RUN pip install -r test-requirements.txt
COPY . /src
RUN pip install .
-# install SSHD
-RUN apt-get install -y openssh-client
# Add the keys and set permissions
COPY tests/ssh-keys /root/.ssh
RUN chmod 600 /root/.ssh/id_rsa && \
- chmod 600 /root/.ssh/id_rsa.pub \ No newline at end of file
+ chmod 600 /root/.ssh/id_rsa.pub
diff --git a/tests/Dockerfile b/tests/Dockerfile
index ff25fa1..3cdf18f 100644
--- a/tests/Dockerfile
+++ b/tests/Dockerfile
@@ -39,4 +39,4 @@ RUN apt-get install -y openssh-client
# Add the keys and set permissions
COPY tests/ssh-keys /root/.ssh
RUN chmod 600 /root/.ssh/id_rsa && \
- chmod 600 /root/.ssh/id_rsa.pub \ No newline at end of file
+ chmod 600 /root/.ssh/id_rsa.pub