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
COPY . /opt/mythril
RUN apt-get update \
&& apt-get install -y \
build-essential \
@ -18,8 +16,11 @@ RUN apt-get update \
python3-dev \
pandoc \
git \
&& ln -s /usr/bin/python3 /usr/local/bin/python \
&& cd /opt/mythril \
&& ln -s /usr/bin/python3 /usr/local/bin/python
COPY . /opt/mythril
RUN cd /opt/mythril \
&& pip3 install -r requirements.txt \
&& python setup.py install

Loading…
Cancel
Save