Merge pull request #583 from yrashk/docker-build-order

Problem: docker build times
pull/591/head
Nikhil Parasaram 6 years ago committed by GitHub
commit 8ebffd0ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      Dockerfile

@ -1,7 +1,5 @@
FROM ubuntu:bionic FROM ubuntu:bionic
COPY . /opt/mythril
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
build-essential \ build-essential \
@ -18,8 +16,11 @@ RUN apt-get update \
python3-dev \ python3-dev \
pandoc \ pandoc \
git \ git \
&& ln -s /usr/bin/python3 /usr/local/bin/python \ && ln -s /usr/bin/python3 /usr/local/bin/python
&& cd /opt/mythril \
COPY . /opt/mythril
RUN cd /opt/mythril \
&& pip3 install -r requirements.txt \ && pip3 install -r requirements.txt \
&& python setup.py install && python setup.py install

Loading…
Cancel
Save