Use --locked, upgrade Dockerfile Rust version (#894)
* Upgrade docker Rust version * Use --locked for cargo install
This commit is contained in:
parent
08ca9504aa
commit
c141f1cc03
@ -1,7 +1,7 @@
|
|||||||
FROM rust:1.41.0 AS builder
|
FROM rust:1.41.1 AS builder
|
||||||
COPY . lighthouse
|
COPY . lighthouse
|
||||||
RUN cd lighthouse && make
|
RUN cd lighthouse && make
|
||||||
RUN cd lighthouse && cargo install --path lcli
|
RUN cd lighthouse && cargo install --path lcli --locked
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ EF_TESTS = "tests/ef_tests"
|
|||||||
#
|
#
|
||||||
# Binaries will most likely be found in `./target/release`
|
# Binaries will most likely be found in `./target/release`
|
||||||
install:
|
install:
|
||||||
cargo install --path lighthouse --force
|
cargo install --path lighthouse --force --locked
|
||||||
|
|
||||||
# Runs the full workspace tests in **release**, without downloading any additional
|
# Runs the full workspace tests in **release**, without downloading any additional
|
||||||
# test vectors.
|
# test vectors.
|
||||||
|
Loading…
Reference in New Issue
Block a user