Skip to content

Commit

Permalink
#90 Fix python dependencies installation in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 13, 2018
1 parent a88cac0 commit 4ec123f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ dockerCommands ~= { dc =>
"pip3 install -U pip setuptools && " +
"cd /opt && " +
"git clone https://github.com/CERT-BDF/Cortex-Analyzers.git && " +
"pip install $(sort -u Cortex-Analyzers/analyzers/*/requirements.txt) && " +
"sort -u Cortex-Analyzers/analyzers/*/requirements.txt | grep -v ';python_version' | xargs -n 1 pip3 install || true"),
"for I in Cortex-Analyzers/analyzers/*/requirements.txt; do pip2 install -r $I; done && " +
"for I in Cortex-Analyzers/analyzers/*/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 4ec123f

Please sign in to comment.