diff --git a/cmd/smbplugin/Dockerfile b/cmd/smbplugin/Dockerfile index 90bddf5892d..181473731e2 100644 --- a/cmd/smbplugin/Dockerfile +++ b/cmd/smbplugin/Dockerfile @@ -15,6 +15,8 @@ FROM registry.k8s.io/build-image/debian-base:bullseye-v1.4.3 RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates cifs-utils util-linux e2fsprogs mount udev xfsprogs +# remove unused packages which have CVEs +RUN apt remove python3.9-minimal libcap2 libldap-2.4-2 libncursesw6 libsqlite3-0 libpython3.9-minimal libwbclient0 -y LABEL maintainers="andyzhangx" LABEL description="SMB CSI Driver"