From cabff32c7c6e48929aa3b4f64d209f130bb72c45 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 9 Jul 2024 10:34:04 +0200 Subject: [PATCH] suricata: use latest rust nightly compiler Needed by serde for cbindgen cf https://github.com/serde-rs/serde/issues/2770#issuecomment-2212162225 --- projects/suricata/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/suricata/Dockerfile b/projects/suricata/Dockerfile index f66bb9b07de4..0b655c0c4c82 100644 --- a/projects/suricata/Dockerfile +++ b/projects/suricata/Dockerfile @@ -29,7 +29,10 @@ RUN git clone --depth=1 https://github.com/catenacyber/fuzzpcap ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging.rules.zip +ENV RUSTUP_TOOLCHAIN nightly RUN cargo install --force cbindgen +# TODO remove once https://redmine.openinfosecfoundation.org/issues/7130 is solved +ENV RUSTUP_TOOLCHAIN nightly-2024-02-12 RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata RUN git clone --depth 1 --branch master-6.0.x https://github.com/OISF/suricata.git suricata6