From 81f55820be9f73ed6451f0379003146629e1a60b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 18:24:38 -0800 Subject: [PATCH] refactor: Use ADD to fetch rustup installer in Dockerfile --- benchmark/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/Dockerfile b/benchmark/Dockerfile index 95da69b42..91b891575 100644 --- a/benchmark/Dockerfile +++ b/benchmark/Dockerfile @@ -22,7 +22,8 @@ RUN curl -OL https://golang.org/dl/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 +ADD https://sh.rustup.rs /tmp/rustup.sh +RUN chmod +x /tmp/rustup.sh && /tmp/rustup.sh -y && rm /tmp/rustup.sh ENV PATH="/root/.cargo/bin:${PATH}" COPY . /aider