Install Go 1.20 for oss-fuzz

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2023-06-26 16:55:43 +03:00
parent 2928480a9a
commit 626611958a
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN wget https://go.dev/dl/go1.20.5.linux-amd64.tar.gz \
&& mkdir temp-go \
&& rm -rf /root/.go/* \
&& tar -C temp-go/ -xzf go1.20.5.linux-amd64.tar.gz \
&& mv temp-go/go/* /root/.go/
ENV SRC=$GOPATH/src/github.com/fluxcd/source-controller
ENV FLUX_CI=true