Merge pull request #593 from mmhh1910/dockerfile_efficiency_fix

Fix docker build: Mythril module installation needs source code copied
pull/595/head
Nikhil Parasaram 6 years ago committed by GitHub
commit 43128464a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Dockerfile

@ -18,12 +18,10 @@ RUN apt-get update \
git \
&& ln -s /usr/bin/python3 /usr/local/bin/python
COPY ./setup.py /opt/mythril/setup.py
COPY ./requirements.txt /opt/mythril/requirements.txt
RUN cd /opt/mythril \
&& pip3 install -r requirements.txt \
&& python setup.py install
&& pip3 install -r requirements.txt
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
@ -31,5 +29,7 @@ ENV LANGUAGE en_US.en
ENV LC_ALL en_US.UTF-8
COPY . /opt/mythril
RUN cd /opt/mythril \
&& python setup.py install
ENTRYPOINT ["/usr/local/bin/myth"]

Loading…
Cancel
Save