Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions projects/suricata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ RUN git clone --depth=1 https://github.com/catenacyber/fuzzpcap

ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging.rules.zip

# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
RUN rustup install nightly-2023-03-24
RUN rustup component add rust-src --toolchain nightly-2023-03-24-x86_64-unknown-linux-gnu
RUN cargo install --force cbindgen

RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata
Expand Down
3 changes: 3 additions & 0 deletions projects/suricata/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#
################################################################################

# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
rustup default nightly-2023-03-24

# build dependencies statically
if [ "$SANITIZER" = "memory" ]
then
Expand Down