# Based on centos FROM centos:7.4.1708 LABEL maintainers="Gorka Eguileor " LABEL description="Cinderlib" RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release https://repos.fedorapeople.org/repos/openstack/openstack-pike/rdo-release-pike-1.noarch.rpm && yum -y install python2-pip centos-release-openstack-pike && yum -y install openstack-cinder python-rbd ceph-common && yum clean all && rm -rf /var/cache/yum && pip install --no-cache-dir 'krest>=1.3.0' 'purestorage>=1.6.0' && mkdir /csi # Copy cinderlib COPY . /cinderlib RUN pip install -e /cinderlib # Define default command CMD ["bash"]