Skip to content

Commit c144d74

Browse files
committed
Add --locked option to cargo install commands in Dockerfile
1 parent cf8ca5e commit c144d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get update && \
66
rm -rf /var/lib/apt/lists/* && \
77
rustup toolchain install 1.42.0 && \
88
rustup component add rustfmt clippy && \
9-
cargo install cargo-compete && \
9+
cargo install cargo-compete --locked && \
1010
cargo install cargo-snippet --features="binaries"
1111

1212
COPY ./entrypoint.sh ./cargo_compete_new.sh ./create_gitkeep_in_testcases.sh ./cargo_snippet.sh /usr/local/bin/

0 commit comments

Comments
 (0)