diff options
Diffstat (limited to 'projects/cryptofuzz/Dockerfile')
-rw-r--r-- | projects/cryptofuzz/Dockerfile | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/projects/cryptofuzz/Dockerfile b/projects/cryptofuzz/Dockerfile index 7ed5d425b..1a1cb9ac3 100644 --- a/projects/cryptofuzz/Dockerfile +++ b/projects/cryptofuzz/Dockerfile @@ -14,14 +14,13 @@ # ################################################################################ -FROM gcr.io/oss-fuzz-base/base-builder +FROM gcr.io/oss-fuzz-base/base-builder-rust +ENV GOPATH /root/go +ENV PATH $PATH:/root/.go/bin:$GOPATH/bin +RUN install_go.sh RUN apt-get update && \ - apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget && \ - wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \ - apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' && \ - apt-get update && \ - apt-get install -y software-properties-common python-software-properties make autoconf automake libtool build-essential cmake mercurial gyp ninja-build zlib1g-dev libsqlite3-dev bison flex texinfo + apt-get install -y software-properties-common wget make autoconf automake libtool build-essential cmake mercurial gyp ninja-build zlib1g-dev libsqlite3-dev bison flex texinfo RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz-corpora @@ -36,15 +35,14 @@ RUN git clone --depth 1 -b oss-fuzz https://github.com/project-everest/hacl-star RUN git clone --depth 1 https://github.com/google/cityhash.git RUN git clone --depth 1 https://github.com/randombit/botan.git RUN git clone --depth 1 https://github.com/wolfSSL/wolfssl.git -RUN git clone --depth 1 https://github.com/ARMmbed/mbedtls.git +RUN git clone --depth 1 -b development_2.x https://github.com/ARMmbed/mbedtls.git RUN hg clone https://hg.mozilla.org/projects/nspr -RUN hg clone https://hg.mozilla.org/projects/nss +#RUN hg clone https://hg.mozilla.org/projects/nss RUN git clone --depth 1 https://github.com/jedisct1/libsodium.git RUN git clone --depth 1 https://github.com/libtom/libtomcrypt.git -RUN git clone --depth 1 https://github.com/microsoft/SymCrypt.git -RUN git clone --depth 1 https://git.lysator.liu.se/nettle/nettle +#RUN git clone --depth 1 https://github.com/microsoft/SymCrypt.git RUN hg clone https://gmplib.org/repo/gmp/ libgmp/ -RUN wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.0.tar.gz +RUN wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz RUN git clone --depth 1 https://github.com/indutny/bn.js.git RUN git clone --depth 1 https://github.com/MikeMcl/bignumber.js.git RUN git clone --depth 1 https://github.com/guidovranken/libfuzzer-js.git @@ -52,8 +50,14 @@ RUN git clone --depth 1 https://github.com/brix/crypto-js.git RUN git clone --depth 1 https://github.com/LoupVaillant/Monocypher.git RUN git clone --depth 1 https://github.com/trezor/trezor-firmware.git RUN git clone --depth 1 https://github.com/Cyan4973/xxHash.git +RUN git clone --depth 1 https://github.com/paulmillr/noble-ed25519.git +RUN git clone --depth 1 https://github.com/paulmillr/noble-bls12-381.git +RUN git clone --depth 1 https://github.com/paulmillr/noble-secp256k1.git +RUN git clone --depth 1 https://github.com/supranational/blst.git +RUN git clone --depth 1 https://github.com/bitcoin-core/secp256k1.git RUN apt-get remove -y libunwind8 RUN apt-get install -y libssl-dev -RUN wget https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.bz2 +RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.tar.bz2 +RUN wget https://nodejs.org/dist/v14.17.1/node-v14.17.1-linux-x64.tar.xz COPY build.sh xxd.c $SRC/ |