mirror of https://github.com/google/oss-fuzz.git
go-ethereum: install go-ethereum in go-path (#4858)
* go-ethereum: install go-ethereum in * go-ethereum: fix build error * go-ethereum: download deps in build step
This commit is contained in:
parent
4a60210210
commit
3f2cbfdc11
|
@ -16,7 +16,12 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
|
||||
RUN (cd $SRC && git clone --single-branch --depth=1 https://github.com/ethereum/go-ethereum)
|
||||
RUN git clone --single-branch --depth=1 https://github.com/ethereum/go-ethereum $GOPATH/src/github.com/ethereum/go-ethereum
|
||||
RUN (cd $GOPATH/src/github.com/ethereum/go-ethereum && go mod download)
|
||||
|
||||
RUN cp $GOPATH/src/github.com/ethereum/go-ethereum/oss-fuzz.sh $SRC/build.sh
|
||||
# Enable this for easier local testing / repro
|
||||
#ADD build.sh $SRC/build.sh
|
||||
|
||||
RUN cp $SRC/go-ethereum/oss-fuzz.sh $SRC/build.sh
|
||||
WORKDIR $SRC/
|
||||
|
||||
|
|
Loading…
Reference in New Issue