review-dockerfile: Setup Rust

This commit is contained in:
Tomas Babej 2022-12-18 11:48:51 -05:00 committed by Tomas Babej
parent 7e45425075
commit c483fdcc0e

View file

@ -17,6 +17,10 @@ RUN echo warrior ALL=NOPASSWD:ALL > /etc/sudoers.d/warrior
USER warrior USER warrior
WORKDIR /home/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 # Setup taskwarrior
# The purpose is to speed up subsequent re-installs due to Docker layer caching # The purpose is to speed up subsequent re-installs due to Docker layer caching
RUN git clone https://github.com/GothenburgBitFactory/taskwarrior.git RUN git clone https://github.com/GothenburgBitFactory/taskwarrior.git