mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 11:41:28 +00:00
73d002ef92
This updates some older dependencies to address a few cargo audit warnings. The majority of warnings come from network dependencies which will be addressed in #2389. This PR contains some minor dep updates that are not network related. Co-authored-by: Michael Sproul <michael@sigmaprime.io>
15 lines
458 B
Docker
15 lines
458 B
Docker
FROM rust:1.53.0 AS builder
|
|
RUN apt-get update && apt-get -y upgrade && 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 -y upgrade && 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
|