Merge pull request #302 from andyzhangx/CVE-2021

fix: CVE issues in image build
This commit is contained in:
Andy Zhang 2022-03-29 22:35:57 +08:00 committed by GitHub
commit 67f99e1e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
RUN clean-install libgmp10 bsdutils libssl1.1 openssl libc6 libc-bin libsystemd0 libudev1
ENTRYPOINT ["/nfsplugin"]