From 1d71282dce3914b59b079f3d010f32a4b6c149f6 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 21 Dec 2021 11:55:42 +0100 Subject: tools/docker/syzbot: switch to Go 1.17 Currently we use the default distro Go, which is 1.15 in Bullseye. Switch to 1.17 which has register-based calling convention and is significantly faster. --- tools/docker/syzbot/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/docker/syzbot/Dockerfile b/tools/docker/syzbot/Dockerfile index d1ee91bba..4bdf8d1cc 100644 --- a/tools/docker/syzbot/Dockerfile +++ b/tools/docker/syzbot/Dockerfile @@ -11,7 +11,7 @@ FROM debian:bullseye RUN apt-get update --allow-releaseinfo-change RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q \ # Build essentials: - gcc g++ binutils make ccache golang-go \ + gcc g++ binutils make ccache \ clang clang-format clang-tidy \ # Some common utilities: unzip curl sudo procps psmisc nano vim git bzip2 dh-autoreconf software-properties-common \ @@ -29,6 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q \ libc6-dev-i386 libc6-dev-i386-amd64-cross lib32gcc-10-dev lib32stdc++-10-dev \ apt-transport-https curl gnupg python-is-python3 +RUN curl https://dl.google.com/go/go1.17.linux-amd64.tar.gz | tar -C /usr/local -xz +ENV PATH /usr/local/go/bin:$PATH + # Not really GRTE, but it's enough to run some scripts that hardcode the path. RUN mkdir -p /usr/grte/v5/bin && ln -s /usr/bin/python3 /usr/grte/v5/bin/python2.7 -- cgit mrf-deployment