install go1.17 for KubeEdge when building fuzzers (#8901)

Signed-off-by: vincentgoat <linguohui1@huawei.com>

install go1.17 for KubeEdge when building fuzzers

Fix issue https://github.com/cncf/cncf-fuzzing/issues/232
cc @AdamKorcz

Signed-off-by: vincentgoat <linguohui1@huawei.com>
This commit is contained in:
Vincent Lin 2022-11-01 22:02:25 +08:00 committed by GitHub
parent e6841e12a2
commit d8a33f3ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN wget https://go.dev/dl/go1.17.5.linux-amd64.tar.gz --quiet && rm -rf /root/.go && mkdir /root/tmpgo && tar -C /root/tmpgo -xzf go1.17.5.linux-amd64.tar.gz && mv /root/tmpgo/go /root/.go && ldconfig
RUN git clone --depth 1 https://github.com/kubeedge/kubeedge
RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing
COPY build.sh $SRC/