diff --git a/analyzers/FileInfo/Dockerfile b/analyzers/FileInfo/Dockerfile index 3c3e54c1a..4ec0c9da1 100644 --- a/analyzers/FileInfo/Dockerfile +++ b/analyzers/FileInfo/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7 +FROM python:3.9 WORKDIR /worker COPY . FileInfo @@ -6,21 +6,20 @@ RUN apt update RUN apt install -y -q libboost-regex-dev \ libboost-program-options-dev \ libboost-system-dev libboost-filesystem-dev libssl-dev \ - build-essential cmake \ + build-essential cmake unzip curl \ git RUN git clone https://github.com/JusticeRage/Manalyze.git && \ -# RUN git clone https://github.com/jeromeleonard/Manalyze.git && \ cd Manalyze && \ cmake . && \ make -j5 && \ cd bin/yara_rules && \ pip3 install requests && \ - python3 update_clamav_signatures.py + python3 update_clamav_signatures.py RUN apt update && \ apt install -y -q libfuzzy-dev libimage-exiftool-perl && \ rm -rf /var/lib/apt/lists/* && \ pip install --no-cache-dir -r FileInfo/requirements.txt -RUN curl -SL https://github.com/fireeye/flare-floss/releases/download/v1.7.0/floss-v1.7.0-linux.zip --output floss.zip && \ +RUN curl -SL https://github.com/mandiant/flare-floss/releases/download/v2.0.0/floss-v2.0.0-linux.zip --output floss.zip && \ unzip floss.zip -d /usr/bin -ENTRYPOINT FileInfo/fileinfo_analyzer.py +ENTRYPOINT FileInfo/fileinfo_analyzer.py \ No newline at end of file