testing codespaces setup for rust on arch

main
Michal 2 years ago committed by GitHub
parent 04905a0168
commit 791633d60e

@ -0,0 +1,9 @@
FROM archlinux:latest
WORKDIR /home/
COPY . .
RUN bash ./setup.sh
ENV PATH="/root/.cargo/bin:$PATH"

@ -0,0 +1,15 @@
pacman -Syu --noconfirm
pacman -S --noconfirm \
curl \
git \
base-devel \
rustup
rustup install nightly
rustup component add rustfmt
rustup component add rustfmt --toolchain nightly
rustup component add clippy
rustup component add clippy --tolchain nightly
cargo install cargo-audit
Loading…
Cancel
Save