-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a23b71
commit aaebb31
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |