Fix sshpass and openssh-client install issue 93/3493/1
authorDANIEL STOICA <daniel.stoica@enea.com>
Wed, 20 May 2020 14:38:38 +0000 (17:38 +0300)
committerDANIEL STOICA <daniel.stoica@enea.com>
Wed, 20 May 2020 14:43:19 +0000 (17:43 +0300)
Sshpass and openssh-client are installed in os build container, but must
be installed in os container

Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Change-Id: I4329ac98ece075a9c9bf1b36ae710fd68aac8150

docker/os/Dockerfile

index 2e7f36a..1981b16 100644 (file)
@@ -31,8 +31,6 @@ RUN apt-get update && apt-get -y install \
     wget \
     golint \
     sqlite3 \
-    openssh-client \
-    sshpass \
     debian-goodies \
     build-essential \
     pkg-config \
@@ -111,6 +109,8 @@ COPY --from=build /root/go/bin /root/go/bin
 COPY --from=build /root/go/src/github.com/bin /root/go/src/github.com/bin
 
 RUN apt-get update && apt-get -y install \
+    openssh-client \
+    sshpass \
     python3-pip python3.6 && \
     cd /usr/bin && ln -s python3 python && \
     pip3 install -r /wheels/requirements/pip-requirements.txt \