Public | Automated Build

Last pushed: 2 months ago
Short Description
Docker container with rustup (https://www.rustup.rs/) and rust/cargo installed.
Full Description

rustup/rust/cargo in docker

Docker container with rustup (https://www.rustup.rs/) installed. For convenience it also contains the musl target i.e. rustup target add x86_64-unknown-linux-musl so that you can use static linking even for libc.

Usage

In your rust project directory:

docker run --rm -ti -v $(pwd):/project hdejager/rustup

then:

cargo run

or

cargo run --target=x86_64-unknown-linux-musl

or

rustup --help

or

rustup show:

installed targets for active toolchain
--------------------------------------

x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
Docker Pull Command
Owner
hdejager
Source Repository

Comments (0)