Skip to content

Commit

Permalink
#881 add manalyze in docker image and add default value in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Oct 14, 2020
1 parent 50740dd commit d6bb17c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions analyzers/FileInfo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ FROM python:3

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 \
git
RUN git clone https://github.com/JusticeRage/Manalyze.git && \
cd Manalyze && \
cmake . && \
make -j5
RUN apt update && \
apt install -y -q libfuzzy-dev libimage-exiftool-perl && \
rm -rf /var/lib/apt/lists/* && \
Expand Down
5 changes: 3 additions & 2 deletions analyzers/FileInfo/FileInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"description": "Wether to enable manalyze submodule or not.",
"type": "boolean",
"required": true,
"multi": false
"multi": false,
"default": false
},
{
"name": "manalyze_enable_docker",
Expand All @@ -38,7 +39,7 @@
"type": "string",
"required": false,
"multi": false,
"default": "/opt/Cortex-Analyzers/utils/manalyze/bin/manalyze"
"default": "/Workder/Manalyze/bin/manalyze"
}
]
}
Expand Down

0 comments on commit d6bb17c

Please sign in to comment.