From c483fdcc0e0730c77944f75655861dea968a4295 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 18 Dec 2022 11:48:51 -0500 Subject: [PATCH] review-dockerfile: Setup Rust --- scripts/review-dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/review-dockerfile b/scripts/review-dockerfile index 5d7a11a5f..6fc560e38 100644 --- a/scripts/review-dockerfile +++ b/scripts/review-dockerfile @@ -17,6 +17,10 @@ RUN echo warrior ALL=NOPASSWD:ALL > /etc/sudoers.d/warrior USER warrior WORKDIR /home/warrior/ +# Setup Rust +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \ + sh rustup.sh -y --profile minimal --default-toolchain stable --component rust-docs + # Setup taskwarrior # The purpose is to speed up subsequent re-installs due to Docker layer caching RUN git clone https://github.com/GothenburgBitFactory/taskwarrior.git