Merge pull request #551 from humblec/dockerfile

Fix the vulnarabilities in the image.
This commit is contained in:
Humble Devassy Chirammal 2019-08-20 10:28:33 +05:30 committed by GitHub
commit 3f32dea047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@ FROM ceph/ceph:v14.2
LABEL maintainers="Ceph-CSI Authors"
LABEL description="Ceph-CSI Plugin"
# Removing ceph-iscsi repo to workaround the repo issue while upgrading
RUN rm -f /etc/yum.repos.d/ceph-iscsi.repo && yum -y update && yum clean all
ENV CSIBIN=/usr/local/bin/cephcsi
COPY cephcsi $CSIBIN