Fix #9: RBD attachments not working

Missing `which` command is making RBD attachments fail, add it to the
docker images.
This commit is contained in:
Gorka Eguileor 2018-08-29 18:17:55 +02:00
parent 713fcf7659
commit 6fe85bf110
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
description="Cinderlib" \
version=${VERSION:-master}
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
yum -y install python2-pip python-devel gcc && \
yum -y install python-rbd ceph-common git && \
# Need new setuptools version or we'll get "SyntaxError: '<' operator not allowed in environment markers" when installing Cinder

View File

@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
description="Cinderlib" \
version=${VERSION:-latest}
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
echo yum -y install python2-pip centos-release-openstack-${RELEASE} > /root/whatever && \
yum -y install python2-pip centos-release-openstack-${RELEASE} && \
yum -y install openstack-cinder python-rbd ceph-common && \

View File

@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
description="Cinderlib" \
version=${VERSION:-latest}
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
yum -y install python2-pip centos-release-openstack-$RELEASE && \
yum -y install openstack-cinder python-rbd ceph-common && \
yum clean all && \