FROM ubuntu:bionic COPY . /opt/mythril RUN apt-get update \ && apt-get install -y \ build-essential \ python-pip-whl=9.0.1-2 \ python3-pip=9.0.1-2 \ python3-setuptools \ software-properties-common \ && add-apt-repository -y ppa:ethereum/ethereum \ && apt-get update \ && apt-get install -y \ solc \ libssl-dev \ python3-dev \ pandoc \ git \ && ln -s /usr/bin/python3 /usr/local/bin/python \ && cd /opt/mythril \ && pip3 install -r requirements.txt \ && python setup.py install ENV PYTHONIOENCODING=UTF-8 ENTRYPOINT ["/usr/local/bin/myth"]