Update libsasl in both ubuntu/ubi toolkit images to address CVE-2022-24407

This commit is contained in:
Christopher Desiniotis
2022-03-16 17:41:21 +00:00
parent cf74d14504
commit e2d1d379d5
2 changed files with 11 additions and 1 deletions

View File

@@ -92,4 +92,11 @@ LABEL description="See summary"
COPY ./LICENSE /licenses/LICENSE
# Install / upgrade packages here that are required to resolve CVEs
ARG CVE_UPDATES
RUN if [ -n "${CVE_UPDATES}" ]; then \
apt-get update && apt-get upgrade -y ${CVE_UPDATES} && \
rm -rf /var/lib/apt/lists/*; \
fi
ENTRYPOINT ["/work/nvidia-toolkit"]