Skip to content

Commit c141f1c

Browse files
authored
Use --locked, upgrade Dockerfile Rust version (#894)
* Upgrade docker Rust version * Use --locked for cargo install
1 parent 08ca950 commit c141f1c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM rust:1.41.0 AS builder
1+
FROM rust:1.41.1 AS builder
22
COPY . lighthouse
33
RUN cd lighthouse && make
4-
RUN cd lighthouse && cargo install --path lcli
4+
RUN cd lighthouse && cargo install --path lcli --locked
55

66
FROM debian:buster-slim
77
RUN apt-get update && apt-get install -y --no-install-recommends \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ EF_TESTS = "tests/ef_tests"
66
#
77
# Binaries will most likely be found in `./target/release`
88
install:
9-
cargo install --path lighthouse --force
9+
cargo install --path lighthouse --force --locked
1010

1111
# Runs the full workspace tests in **release**, without downloading any additional
1212
# test vectors.

0 commit comments

Comments
 (0)