Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (39 sloc) 1.92 KB
# Ember-CSI master and latest images
# Ember uses current master
# Cinderlib and Cinder:
# - Pull from master if RELEASE=master
# - Pull from RELEASE if RELEASE!=master
FROM centos:7
LABEL maintainers="Gorka Eguileor <>" \
description="Ember CSI Plugin" \
version=${VERSION} \
# Enable RPDB debugging on this container by default
# This is the default port, but if we change it via CSI_ENDPOINT then this will
# no longer be relevant.
# For the Master version expose RPDB port to support remote debugging
EXPOSE 50051 4444
# We first check that we have access to the PyPi server
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
yum -y install python2-pip pywbem && \
yum -y install xfsprogs e2fsprogs btrfs-progs nmap-ncat && \
# We need to upgrade pyasn1 because the package for RDO is not new enough for
# pyasn1_modules, which is used by some of the Google's libraries
pip install --no-cache-dir --upgrade 'pyasn1<0.5.0,>=0.4.1' future && \
# Install the RDO repository
if [ "$RELEASE" = "master" ]; then curl -o /etc/yum.repos.d/rdo-trunk-runtime-deps.repo; curl -o /etc/yum.repos.d/delorean.repo; else yum -y install centos-release-openstack-${RELEASE}; fi && \
yum -y install python-cinderlib && \
# Install driver specific RPM dependencies
yum -y install python-rbd ceph-common && \
# Install driver specific PyPi dependencies
pip install --no-cache-dir krest purestorage pyxcli pyOpenSSL && \
yum clean all && \
rm -rf /var/cache/yum
COPY . /ember-csi
RUN pip install --no-cache-dir -e /ember-csi
# Define default command
CMD ["ember-csi"]
You can’t perform that action at this time.