-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
14 lines (12 loc) · 907 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y wget git build-essential software-properties-common curl \
&& add-apt-repository ppa:deadsnakes/ppa && apt-get update \
&& apt-get -y install python3.6 python3.6-dev python3-pip \
&& curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh && bash nodesource_setup.sh && apt-get -y install nodejs
COPY . /contract-fuzzer
WORKDIR /contract-fuzzer/src
RUN cd evmjs/ && npm install && cd node_modules && rm -rf ethereumjs-vm && git clone https://github.com/zqzqz/ethereumjs-vm && cd ethereumjs-vm && git checkout contract-fuzzer && cp -R lib/ dist/ && npm install [email protected]
RUN cd pyfuzz/ && python3.6 -m pip install -r requirements.txt
RUN apt-get -y install vim \
&& curl -o /usr/bin/solc -fL https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux && chmod u+x /usr/bin/solc
CMD ["/bin/bash"]