diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-12-21 11:55:42 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-12-21 13:33:28 +0100 |
| commit | 1d71282dce3914b59b079f3d010f32a4b6c149f6 (patch) | |
| tree | 171fc33f0df7d0ffd502bea7694b69aff0cb8fb6 /tools | |
| parent | a938f0b814c3578d9608be02ef72b45d2b10cf4b (diff) | |
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.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/docker/syzbot/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
