Last active
April 11, 2020 15:01
-
-
Save costa/e3939880c50ff570d7612d74f4f8721a to your computer and use it in GitHub Desktop.
Rust Cargo dependencies update with Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUST_VERSION=1.42 | |
docker run -v $(pwd)/Cargo.toml:/build/Cargo.toml -v $(pwd)/Cargo.lock:/build/Cargo.lock -w /build rust:$RUST_VERSION bash -c "mkdir src && touch src/main.rs && cargo update" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment