From c9db30421448e8477ef50523f2cd28863e1d8c51 Mon Sep 17 00:00:00 2001 From: Anders Einar Hilden Date: Tue, 19 Oct 2021 21:16:45 +0200 Subject: [PATCH] Typo in sigmatools patch, when using multiple expression with sed, all must have -e prefix --- modules/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Dockerfile b/modules/Dockerfile index 486fe34..fb98d92 100644 --- a/modules/Dockerfile +++ b/modules/Dockerfile @@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # TODO: remove downgrade of sigmatools when we have Python 3.8 ref #128 and #143 RUN git clone --branch ${MODULES_TAG} --depth 1 https://github.com/MISP/misp-modules.git /srv/misp-modules; \ cd /srv/misp-modules || exit; \ - sed -i 's/-e //g' -e 's/sigmatools==0.20/sigmatools==0.19.1/' REQUIREMENTS; \ + sed -i -e 's/-e //g' -e 's/sigmatools==0.20/sigmatools==0.19.1/' REQUIREMENTS; \ pip3 wheel -r REQUIREMENTS --no-cache-dir -w /wheel/ RUN git clone --depth 1 https://github.com/stricaud/faup.git /srv/faup; \