mirror of https://github.com/docker/docker-py.git
remove ssh-client install from py3 Dockerfile
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
593d0c97d3
commit
d6fe4bd064
|
@ -14,9 +14,7 @@ RUN pip install -r test-requirements.txt
|
||||||
COPY . /src
|
COPY . /src
|
||||||
RUN pip install .
|
RUN pip install .
|
||||||
|
|
||||||
# install SSHD
|
|
||||||
RUN apt-get install -y openssh-client
|
|
||||||
# Add the keys and set permissions
|
# Add the keys and set permissions
|
||||||
COPY tests/ssh-keys /root/.ssh
|
COPY tests/ssh-keys /root/.ssh
|
||||||
RUN chmod 600 /root/.ssh/id_rsa && \
|
RUN chmod 600 /root/.ssh/id_rsa && \
|
||||||
chmod 600 /root/.ssh/id_rsa.pub
|
chmod 600 /root/.ssh/id_rsa.pub
|
||||||
|
|
|
@ -39,4 +39,4 @@ RUN apt-get install -y openssh-client
|
||||||
# Add the keys and set permissions
|
# Add the keys and set permissions
|
||||||
COPY tests/ssh-keys /root/.ssh
|
COPY tests/ssh-keys /root/.ssh
|
||||||
RUN chmod 600 /root/.ssh/id_rsa && \
|
RUN chmod 600 /root/.ssh/id_rsa && \
|
||||||
chmod 600 /root/.ssh/id_rsa.pub
|
chmod 600 /root/.ssh/id_rsa.pub
|
||||||
|
|
Loading…
Reference in New Issue