tailscale: build with Go 1.20.1 (#9729)

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55690

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2023-02-16 18:36:29 +00:00 committed by GitHub
parent 287946ac26
commit 67171ebea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN apt-get update && apt-get install -y wget
RUN git clone --depth 1 https://github.com/tailscale/tailscale
RUN wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz \
&& mkdir temp-go \
&& rm -rf /root/.go/* \
&& tar -C temp-go/ -xzf go1.20.1.linux-amd64.tar.gz \
&& mv temp-go/go/* /root/.go/
COPY build.sh $SRC/
WORKDIR $SRC/tailscale