Use --locked, upgrade Dockerfile Rust version (#894)

* Upgrade docker Rust version

* Use --locked for cargo install
This commit is contained in:
Paul Hauner 2020-03-05 12:50:24 +11:00 committed by GitHub
parent 08ca9504aa
commit c141f1cc03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM rust:1.41.0 AS builder
FROM rust:1.41.1 AS builder
COPY . lighthouse
RUN cd lighthouse && make
RUN cd lighthouse && cargo install --path lcli
RUN cd lighthouse && cargo install --path lcli --locked
FROM debian:buster-slim
RUN apt-get update && apt-get install -y --no-install-recommends \

View File

@ -6,7 +6,7 @@ EF_TESTS = "tests/ef_tests"
#
# Binaries will most likely be found in `./target/release`
install:
cargo install --path lighthouse --force
cargo install --path lighthouse --force --locked
# Runs the full workspace tests in **release**, without downloading any additional
# test vectors.