From c627468abbca5544f43b3af3f3e367f9727cd56b Mon Sep 17 00:00:00 2001 From: hzma Date: Mon, 12 Dec 2022 13:59:39 +0800 Subject: [PATCH] delete nc cmd in image (#2148) --- dist/images/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/images/Dockerfile b/dist/images/Dockerfile index 973769fe1dd..f346273188e 100644 --- a/dist/images/Dockerfile +++ b/dist/images/Dockerfile @@ -9,6 +9,9 @@ COPY grace_stop_ovn_controller /usr/share/ovn/scripts/grace_stop_ovn_controller WORKDIR /kube-ovn +RUN rm -f /usr/bin/nc &&\ + rm -f /usr/bin/netcat + COPY kube-ovn-cmd /kube-ovn/kube-ovn-cmd COPY kube-ovn-webhook /kube-ovn/kube-ovn-webhook RUN ln -s /kube-ovn/kube-ovn-cmd /kube-ovn/kube-ovn && \