Skip to content

Commit

Permalink
Add --locked option to cargo install commands in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwiy9 committed Apr 27, 2024
1 parent cf8ca5e commit c144d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* && \
rustup toolchain install 1.42.0 && \
rustup component add rustfmt clippy && \
cargo install cargo-compete && \
cargo install cargo-compete --locked && \
cargo install cargo-snippet --features="binaries"

COPY ./entrypoint.sh ./cargo_compete_new.sh ./create_gitkeep_in_testcases.sh ./cargo_snippet.sh /usr/local/bin/
Expand Down

0 comments on commit c144d74

Please sign in to comment.