From f4311ab07f5785a6a7a2a1131f404a89bcd80006 Mon Sep 17 00:00:00 2001 From: hzma Date: Tue, 2 Jan 2024 10:01:10 +0800 Subject: [PATCH] fix security issue (#3588) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 马洪贞 --- dist/images/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/images/Dockerfile b/dist/images/Dockerfile index 34a323797ee..e91fe57ca8d 100644 --- a/dist/images/Dockerfile +++ b/dist/images/Dockerfile @@ -13,7 +13,8 @@ WORKDIR /kube-ovn RUN /kube-ovn/iptables-wrapper-installer.sh --no-sanity-check RUN rm -f /usr/bin/nc &&\ - rm -f /usr/bin/netcat + rm -f /usr/bin/netcat &&\ + rm -f /usr/lib/apt/methods/mirror RUN deluser sync COPY kube-ovn /kube-ovn/kube-ovn