From 7c026ec5e896b1d564f4484c0a4c6bd14fc93590 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 5 Mar 2020 11:55:04 +1100 Subject: [PATCH 1/2] Upgrade docker Rust version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a3145eb842..8a081e54a5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -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 From ad284148f1cbedf88dd7177191b0cf5fb1e8cc14 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 5 Mar 2020 12:16:15 +1100 Subject: [PATCH 2/2] Use --locked for cargo install --- Dockerfile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a081e54a5c..8626ed2520b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ 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 \ diff --git a/Makefile b/Makefile index 8a93fef0f58..7d55593998f 100644 --- a/Makefile +++ b/Makefile @@ -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.