Skip to content

Commit

Permalink
#110 Prevent docker fail if responder requirements are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jul 31, 2018
1 parent efd02a8 commit 057a054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ dockerCommands ~= { dc =>
"pip3 install -U pip setuptools && " +
"cd /opt && " +
"git clone https://github.com/TheHive-Project/Cortex-Analyzers.git && " +
"for I in Cortex-Analyzers/analyzers/*/requirements.txt Cortex-Analyzers/responders/*/requirements.txt; do pip2 install -r $I; done && " +
"for I in Cortex-Analyzers/analyzers/*/requirements.txt Cortex-Analyzers/responders/*/requirements.txt; do pip3 install -r $I || true; done"),
"for I in $(find Cortex-Analyzers -name 'requirements.txt'); do pip2 install -r $I; done && " +
"for I in $(find Cortex-Analyzers -name 'requirements.txt'); do pip3 install -r $I || true; done"),
Cmd("ADD", "var", "/var"),
Cmd("ADD", "etc", "/etc"),
ExecCmd("RUN", "chown", "-R", "daemon:root", "/var/log/cortex"),
Expand Down

0 comments on commit 057a054

Please sign in to comment.