From 7a10e3835a092dcd4ea0e79de3cbaa0ce2fdbcab Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 6 Jun 2018 14:43:03 -0400 Subject: [PATCH] Correct bionic apt dependency hell... Installing ethereum wants a particular version of python3-pip but and earlier step to install mythril may install a newer version of that --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7f1ecb7..23780cb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,17 @@ FROM ubuntu:bionic COPY . /opt/mythril RUN apt-get update \ - && apt-get install -y software-properties-common \ + && 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-pip=9.0.1-2 \ python3-dev \ pandoc \ git \