mirror of https://github.com/google/oss-fuzz.git
crossplane: bump Go (#10158)
Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
parent
b0d2781dbe
commit
05b5fb0542
|
@ -17,5 +17,10 @@
|
|||
FROM gcr.io/oss-fuzz-base/base-builder-go
|
||||
RUN git clone --depth 1 https://github.com/crossplane/crossplane-runtime $SRC/crossplane-runtime
|
||||
RUN git clone --depth 1 https://github.com/crossplane/crossplane $SRC/crossplane
|
||||
RUN wget https://go.dev/dl/go1.20.2.linux-amd64.tar.gz \
|
||||
&& mkdir temp-go \
|
||||
&& rm -rf /root/.go/* \
|
||||
&& tar -C temp-go/ -xzf go1.20.2.linux-amd64.tar.gz \
|
||||
&& mv temp-go/go/* /root/.go/
|
||||
COPY build.sh $SRC/
|
||||
WORKDIR $SRC
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# required by Go 1.20
|
||||
export CXX="${CXX} -lresolv"
|
||||
|
||||
cd $SRC/crossplane
|
||||
$SRC/crossplane/test/fuzz/oss_fuzz_build.sh
|
||||
cd $SRC/crossplane-runtime
|
||||
|
|
Loading…
Reference in New Issue