Add packages in docker alpine containers
authorManuel Buil <mbuil@suse.com>
Wed, 13 Sep 2017 12:41:48 +0000 (14:41 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 13 Sep 2017 14:23:50 +0000 (16:23 +0200)
To run our SFC tests we require openssh and sshpass to be installed in
the container

Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f
Signed-off-by: Manuel Buil <mbuil@suse.com>
docker/features/Dockerfile
docker/restapi/Dockerfile

index c3b1b04..c70b362 100644 (file)
@@ -4,7 +4,7 @@ ARG BRANCH=master
 ARG OPENSTACK_TAG=stable/ocata
 
 COPY thirdparty-requirements.txt thirdparty-requirements.txt
-RUN apk --no-cache add --update nodejs nodejs-npm python3 && \
+RUN apk --no-cache add --update nodejs nodejs-npm python3 sshpass && \
     apk --no-cache add --virtual .build-deps --update \
         python-dev build-base linux-headers libffi-dev \
         openssl-dev libjpeg-turbo-dev git && \
index 0b763c2..4b447a2 100644 (file)
@@ -8,7 +8,7 @@ ARG REFSTACK_TAG=4e187b07672dd1c41cb7c94658f1c91edebf53a2
 ARG VIMS_TAG=stable
 
 COPY thirdparty-requirements.txt thirdparty-requirements.txt
-RUN apk --no-cache add --update nodejs nodejs-npm python3 \
+RUN apk --no-cache add --update nodejs nodejs-npm python3 sshpass \
         ruby ruby-dev ruby-bundler ruby-irb ruby-rdoc dnsmasq \
         procps git g++ make libxslt-dev libxml2-dev zlib-dev libffi-dev && \
     apk --no-cache add --virtual .build-deps --update \