crossplane: bump Go (#10158)

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2023-04-25 15:28:36 +01:00 committed by GitHub
parent b0d2781dbe
commit 05b5fb0542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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