Skip to content

Commit

Permalink
#1110 update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Sep 5, 2022
1 parent 4a23b71 commit aaebb31
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions analyzers/FileInfo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
FROM python:3.7
FROM python:3.9

WORKDIR /worker
COPY . FileInfo
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

0 comments on commit aaebb31

Please sign in to comment.