mirror of https://github.com/google/oss-fuzz.git
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:
parent
783592ffae
commit
7734e50c89
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue