mirror of https://github.com/MISP/misp-docker
Merge pull request #143 from Kagee/patch-3
misp-modules v2.4.150 requires python 3.8 or a downgrade of sigmatoolspull/1/head
commit
5153a2d8a2
|
@ -18,8 +18,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
RUN mkdir /wheel
|
RUN mkdir /wheel
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
|
||||||
|
# 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; \
|
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; \
|
||||||
|
|
Loading…
Reference in New Issue