Skip to content

Commit

Permalink
Use --locked in Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwaz committed Jan 5, 2022
1 parent 0f080f0 commit 65391e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN set -eux; \
COPY rust-toolchain.toml /tmp/rust-toolchain.toml
COPY crawl /tmp/crawl
RUN set -eux; \
cargo install --path /tmp/crawl --bin rudra-runner --bin unsafe-counter; \
cargo install --locked --path /tmp/crawl --bin rudra-runner --bin unsafe-counter; \
rm -rf /tmp/rust-toolchain.toml /tmp/crawl;

COPY . /tmp/rudra/
Expand Down
2 changes: 1 addition & 1 deletion install-debug.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
cargo install --debug --path "$(dirname "$0")" --force --features backtraces
cargo install --locked --debug --path "$(dirname "$0")" --force --features backtraces
2 changes: 1 addition & 1 deletion install-release.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
cargo install --path "$(dirname "$0")" --force
cargo install --locked --path "$(dirname "$0")" --force

0 comments on commit 65391e3

Please sign in to comment.