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
pull/250/head
rocky 7 years ago
parent 3fd3bfc4a5
commit 7a10e3835a
  1. 8
      Dockerfile

@ -3,13 +3,17 @@ FROM ubuntu:bionic
COPY . /opt/mythril COPY . /opt/mythril
RUN apt-get update \ 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 \ && add-apt-repository -y ppa:ethereum/ethereum \
&& apt-get update \ && apt-get update \
&& apt-get install -y \ && apt-get install -y \
solc \ solc \
libssl-dev \ libssl-dev \
python3-pip=9.0.1-2 \
python3-dev \ python3-dev \
pandoc \ pandoc \
git \ git \

Loading…
Cancel
Save