Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/Dockerfile

21 lines
605 B

FROM ubuntu:bionic
LABEL name slither
LABEL src "https://github.com/trailofbits/slither"
LABEL creator trailofbits
LABEL dockerfile_maintenance trailofbits
LABEL desc "Static Analyzer for Solidity"
RUN apt update \
&& apt upgrade -y \
&& apt install -y git python3 python3-setuptools wget software-properties-common
RUN wget https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux \
&& chmod +x solc-static-linux \
&& mv solc-static-linux /usr/bin/solc
RUN git clone https://github.com/trailofbits/slither.git
WORKDIR slither
RUN python3 setup.py install
CMD /bin/bash