Skip to content

Install python3 requirements for analyzers in public docker image #58

@0xmilkmix

Description

@0xmilkmix

Request Type

Bug / Feature Request

Work Environment

Question Answer
OS version (server) OS running docker
Cortex version / git hash latest public docker image / 1.1.4
Package Type Docker

Problem Description

Some analyzers written in python3 are not working with the public Docker image provided for Cortex. The reason is that the requirements are installed with pip for python2 in Cortex/build.sbt:147

Only misp-analyzer requirements are installed with pip3. Shodan is also using python3.

Steps to Reproduce

  1. docker pull certbdf/cortex
  2. docker run cortex bash
  3. python3 -c 'import cortexutils'

Possible Solutions

  1. Add python version in analyzer definition so that the builder knowns which version of pip to use to install requirements

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions