mirror of https://github.com/google/oss-fuzz.git
istio: bump Go (#9936)
Bumps Go for Istio. Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
parent
c7463eeb1b
commit
43ec92a973
|
@ -17,5 +17,10 @@
|
||||||
# Setup the builder for Istio. The standard Go builder is sufficient.
|
# Setup the builder for Istio. The standard Go builder is sufficient.
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder-go
|
FROM gcr.io/oss-fuzz-base/base-builder-go
|
||||||
RUN git clone --depth 1 https://github.com/istio/istio
|
RUN git clone --depth 1 https://github.com/istio/istio
|
||||||
|
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/
|
COPY build.sh $SRC/
|
||||||
WORKDIR $SRC/istio
|
WORKDIR $SRC/istio
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
# required by Go 1.20
|
||||||
|
export CXX="${CXX} -lresolv"
|
||||||
|
|
||||||
|
# Build fuzzers
|
||||||
if [ -n "${OSS_FUZZ_CI-}" ]
|
if [ -n "${OSS_FUZZ_CI-}" ]
|
||||||
then
|
then
|
||||||
echo "Skipping most fuzzers since the OSS-fuzz CI may fail from running out of disk space."
|
echo "Skipping most fuzzers since the OSS-fuzz CI may fail from running out of disk space."
|
||||||
|
|
Loading…
Reference in New Issue