aboutsummaryrefslogtreecommitdiff
path: root/projects/bignum-fuzzer
diff options
context:
space:
mode:
authorGuido Vranken <guidovranken@users.noreply.github.com>2019-01-09 16:12:33 +0100
committerMax Moroz <dor3s1@gmail.com>2019-01-09 07:12:33 -0800
commit5442f88bc3fe6496a836f15a57255da681ef796a (patch)
treefefe73c137de67ff20589825f9b0730dc6862679 /projects/bignum-fuzzer
parent658615d59e8bb1d7a6bf6cf62dcf49d4102423cc (diff)
downloadoss-fuzz-5442f88bc3fe6496a836f15a57255da681ef796a.tar.gz
[bignum-fuzzer] Fix Rust nightly installation, attempt #2 (#2079)
Diffstat (limited to 'projects/bignum-fuzzer')
-rw-r--r--projects/bignum-fuzzer/Dockerfile3
-rwxr-xr-xprojects/bignum-fuzzer/build.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/projects/bignum-fuzzer/Dockerfile b/projects/bignum-fuzzer/Dockerfile
index 8b6a34452..eac4609b0 100644
--- a/projects/bignum-fuzzer/Dockerfile
+++ b/projects/bignum-fuzzer/Dockerfile
@@ -20,9 +20,6 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
RUN add-apt-repository -y ppa:gophers/archive && apt-get update && apt-get install -y golang-1.9-go
RUN ln -s /usr/lib/go-1.9/bin/go /usr/bin/go
-# Install Rust nightly
-RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
-
RUN git clone --depth 1 https://github.com/guidovranken/bignum-fuzzer
RUN git clone --depth 1 https://github.com/openssl/openssl
RUN hg clone https://gmplib.org/repo/gmp/ libgmp/
diff --git a/projects/bignum-fuzzer/build.sh b/projects/bignum-fuzzer/build.sh
index a42428e3c..a224d5870 100755
--- a/projects/bignum-fuzzer/build.sh
+++ b/projects/bignum-fuzzer/build.sh
@@ -1,3 +1,5 @@
+# Install Rust nightly
+curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cd $SRC/openssl