From 6950ad468f2f8fbf709a6c51f7eeba2195dcb8b5 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 14 Aug 2019 13:23:02 +0530 Subject: [PATCH] Fix the vulnarabilities in the image. Signed-off-by: Humble Chirammal --- deploy/cephcsi/image/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index aeec79b7a..e064984a0 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -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