misp-modules v2.4.150 requires python 3.8 or a downgrade of sigmatools

pull/1/head
Anders Einar Hilden 2021-10-19 20:36:16 +02:00
parent 2f7d4928ca
commit 6061c3e522
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /srv WORKDIR /srv
RUN git clone --branch ${MODULES_TAG} --depth 1 https://github.com/MISP/misp-modules.git /srv/misp-modules; \ 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' REQUIREMENTS; pip3 wheel -r REQUIREMENTS --no-cache-dir -w /wheel/ cd /srv/misp-modules || exit; \
sed -i '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; \ RUN git clone --depth 1 https://github.com/stricaud/faup.git /srv/faup; \
cd /srv/faup/build || exit; cmake .. && make install; \ cd /srv/faup/build || exit; cmake .. && make install; \