-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [infra] Update base-builder image to support go-fuzz (#2714). * address review comments
- Loading branch information
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,9 @@ | |
|
||
FROM gcr.io/oss-fuzz-base/base-builder | ||
MAINTAINER [email protected] | ||
ADD https://dl.google.com/go/go1.12.9.linux-amd64.tar.gz go.tar.gz | ||
RUN tar xzf go.tar.gz -C $SRC/ | ||
ENV GOPATH $SRC | ||
ENV PATH $SRC/go/bin:$GOPATH/bin:$PATH | ||
|
||
RUN go get -u -d github.com/google/syzkaller/... | ||
|
||
# Dependency of go-fuzz | ||
RUN go get golang.org/x/tools/go/packages | ||
|
||
# go-fuzz-build is the tool that instruments Go files. | ||
RUN go get github.com/dvyukov/go-fuzz/go-fuzz-build | ||
|
||
# Dependency for one of the fuzz targets. | ||
RUN go get github.com/ianlancetaylor/demangle | ||
|
||
|