diff --git a/Dockerfile.linux b/Dockerfile.linux index 090b8af..d8690b6 100644 --- a/Dockerfile.linux +++ b/Dockerfile.linux @@ -8,6 +8,9 @@ LABEL org.opencontainers.image.version="${FLUTTER_VERSION}" USER 0 +# Remove rav1e to eliminate CVE in paste crate (not needed for Flutter) +RUN rm -f /usr/bin/rav1e /usr/lib/librav1e.so* /var/lib/db/sbom/rav1e-*.spdx.json + # Clone Flutter SDK from git (supports both amd64 and arm64) RUN git clone --depth 1 --branch ${FLUTTER_VERSION} https://github.com/flutter/flutter.git /opt/flutter && \ git config --global --add safe.directory /opt/flutter && \