deploy: create a new Dockerfile for unified cephcsi image

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2019-03-20 15:15:51 -04:00 committed by mergify[bot]
parent 85e121ebfe
commit a44714fdfb

View File

@ -0,0 +1,14 @@
FROM ceph/ceph:v14.2
LABEL maintainers="Ceph-CSI Authors"
LABEL description="Ceph-CSI Plugin"
ENV CSIBIN=/usr/local/bin/cephcsi
COPY cephcsi $CSIBIN
RUN chmod +x $CSIBIN && \
ln -sf $CSIBIN /usr/local/bin/cephcsi-rbd && \
ln -sf $CSIBIN /usr/local/bin/cephcsi-cephfs
ENTRYPOINT ["/usr/local/bin/cephcsi"]