kubeedge: fix broken build (#9067)

CC @vincentgoat 

Signed-off-by: AdamKorcz <adam@adalogics.com>

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-11-24 22:59:23 +00:00 committed by GitHub
parent 783592ffae
commit 7734e50c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -13,9 +13,7 @@
# limitations under the License.
#
################################################################################
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/

View File

@ -14,4 +14,7 @@
# limitations under the License.
#
################################################################################
sed 's/go 1.16/go 1.19 /g' -i $SRC/kubeedge/go.mod
cd $SRC/kubeedge && go mod tidy
$SRC/cncf-fuzzing/projects/kubeedge/build.sh