File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:noble AS builder-echidna
2- ENV LD_LIBRARY_PATH=/usr/local/lib PREFIX=/usr/local HOST_OS=Linux
3- RUN apt-get update && \
4- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-suggests --no-install-recommends \
1+ FROM docker.io/benz0li/ghc-musl:9.8.4 AS builder-echidna
2+ # https://gitlab.com/benz0li/ghc-musl
3+
4+ RUN apk upgrade --no-cache &&\
5+ apk add --no-cache \
6+ autoconf \
7+ automake \
8+ binutils-gold \
59 cmake \
6- curl \
7- git \
8- libbz2-dev \
9- libgmp-dev \
10- libreadline-dev \
11- libsecp256k1-dev \
12- libssl-dev \
13- software-properties-common \
14- sudo
15- RUN curl -sSL https://get.haskellstack.org/ | sh
10+ libtool
11+
12+ RUN mkdir -p /etc/stack &&\
13+ { echo "system-ghc: true" ;\
14+ echo "install-ghc: false" ;\
15+ echo "skip-ghc-check: true" ;\
16+ } >> /etc/stack/config.yaml
17+
18+ ENV LD_LIBRARY_PATH=/usr/local/lib PREFIX=/usr/local HOST_OS=Linux
1619COPY . /echidna/
1720WORKDIR /echidna
21+ RUN .github/scripts/install-libsecp256k1.sh
1822RUN .github/scripts/install-libff.sh
1923RUN stack upgrade && stack setup && stack install --flag echidna:static --extra-include-dirs=/usr/local/include --extra-lib-dirs=/usr/local/lib
2024
You can’t perform that action at this time.
0 commit comments