8e5c20b6d1
## Issue Addressed
NA
## Proposed Changes
Rust 1.50 has landed 🎉
The shiny new `clippy` peers down upon us mere mortals with disgust. Brutish peasants wrapping our `usize`s in superfluous `Option`s... tsk tsk.
I've performed the goat sacrifice and corrected our evil ways in this PR. Tonight we shall pray that Github Actions bestows the almighty green tick upon us.
## Additional Info
NA
Co-authored-by: realbigsean <seananderson33@gmail.com>
Co-authored-by: Michael Sproul <michael@sigmaprime.io>
15 lines
414 B
Docker
15 lines
414 B
Docker
FROM rust:1.50.0 AS builder
|
|
RUN apt-get update && apt-get install -y cmake
|
|
COPY . lighthouse
|
|
ARG PORTABLE
|
|
ENV PORTABLE $PORTABLE
|
|
RUN cd lighthouse && make
|
|
|
|
FROM debian:buster-slim
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libssl-dev \
|
|
ca-certificates \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY --from=builder /usr/local/cargo/bin/lighthouse /usr/local/bin/lighthouse
|