Rust latest nightly version with webassembly development environment
250
Dockerfile
FROM archlinux
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN pacman -Syy;\
pacman -S wget --noconfirm;\
pacman -S gcc --noconfirm;\
pacman -S git --noconfirm;
RUN set -eux; \
url="https://gitcode.net/dnrops/rust_code/-/raw/master/rust_codewar/rustup-init.sh"; \
wget "$url"; \
chmod +x rustup-init.sh; \
./rustup-init.sh -y --no-modify-path --profile default --default-toolchain nightly --component miri rls rust-analysis; \
rm rustup-init.sh; \
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
rustup --version; \
cargo --version; \
rustc --version;\
git clone https://gitcode.net/dnrops/cargo_bin.git;\
mv ./cargo_bin/* /usr/local/cargo/bin/;\
chmod 777 /usr/local/cargo/bin/*;
Content type
Image
Digest
sha256:c60c9db4d…
Size
2.1 GB
Last updated
about 4 years ago
docker pull zinso/rust_nightly