mirror of https://github.com/crytic/echidna
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.
17 lines
609 B
17 lines
609 B
FROM ubuntu:rolling
|
|
RUN apt-get update && apt-get -y upgrade
|
|
RUN apt-get install -y curl libgmp-dev libbz2-dev libreadline-dev software-properties-common locales-all locales
|
|
RUN add-apt-repository -y ppa:ethereum/ethereum
|
|
RUN apt-get update
|
|
RUN apt-get install -y solc
|
|
RUN curl -sSL https://get.haskellstack.org/ | sh
|
|
COPY . /echidna/
|
|
WORKDIR /echidna
|
|
RUN stack upgrade && stack setup && stack install
|
|
ENV PATH=$PATH:/root/.local/bin
|
|
RUN update-locale LANG=en_US.UTF-8
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|
|
CMD ["echidna-test", "solidity/cli.sol"]
|
|
|