fix: CVE-2018-25032 in image build

This commit is contained in:
andyzhangx 2022-04-02 04:42:14 +00:00
parent b3a2b6d5e8
commit c93cf2a3bb

View File

@ -21,6 +21,6 @@ COPY ${binary} /nfsplugin
RUN apt update && apt-mark unhold libcap2
RUN clean-install ca-certificates mount nfs-common netbase
# install updated packages to fix CVE issues
RUN clean-install libgmp10 bsdutils libssl1.1 openssl libc6 libc-bin libsystemd0 libudev1
RUN clean-install libgmp10 bsdutils libssl1.1 openssl libc6 libc-bin libsystemd0 libudev1 zlib1g
ENTRYPOINT ["/nfsplugin"]