remove ssh-client install from py3 Dockerfile

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2020-10-06 14:19:18 +02:00
parent 593d0c97d3
commit d6fe4bd064
2 changed files with 2 additions and 4 deletions

View File

@ -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
chmod 600 /root/.ssh/id_rsa.pub

View File

@ -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
chmod 600 /root/.ssh/id_rsa.pub