mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
06f411bbf3
Uses a slightly modified version of https://github.com/kubernetes-incubator/external-storage/blob/master/ceph/cephfs/cephfs_provisioner/cephfs_provisioner.py This should be rewritten properly in Go, but for it works for now - for demonstration purposes TODO: * readOnly is not taken into account * controllerServer.DeleteVolume does nothing
15 lines
405 B
Docker
15 lines
405 B
Docker
FROM ubuntu:16.04
|
|
LABEL maintainers="Kubernetes Authors"
|
|
LABEL description="CephFS CSI Plugin"
|
|
|
|
ENV CEPH_VERSION "luminous"
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y ceph-common ceph-fuse && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY cephfsplugin /cephfsplugin
|
|
COPY cephfs_provisioner.py /cephfs_provisioner.py
|
|
RUN chmod +x /cephfsplugin && chmod +x /cephfs_provisioner.py
|
|
ENTRYPOINT ["/cephfsplugin"]
|