Fix the vulnarabilities in the image.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2019-08-14 13:23:02 +05:30
parent 8fddb53931
commit 6950ad468f

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