From b9c14e1d655a117a1d02ce81081a2880f6b3fdf7 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 18:22:41 -0800 Subject: [PATCH] feat: Add Go installation to Dockerfile --- benchmark/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/benchmark/Dockerfile b/benchmark/Dockerfile index 09e69f97d..95da69b42 100644 --- a/benchmark/Dockerfile +++ b/benchmark/Dockerfile @@ -15,6 +15,12 @@ RUN apt-get update && apt-get install -y \ # Make python3.11 the default python3 RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 +# Install Go +RUN curl -OL https://golang.org/dl/go1.21.5.linux-amd64.tar.gz && \ + tar -C /usr/local -xzf go1.21.5.linux-amd64.tar.gz && \ + rm go1.21.5.linux-amd64.tar.gz +ENV PATH="/usr/local/go/bin:${PATH}" + # Install Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}"