fix(dockerfile): Add ca-certificates so eth1 calls work in docker. (#796)

This commit is contained in:
Tim Myers 2020-01-19 13:49:59 -07:00 committed by Paul Hauner
parent 0e3e2bbbe7
commit a8da36b913

View File

@ -3,5 +3,9 @@ COPY . lighthouse
RUN cd lighthouse && make && cargo clean
FROM debian:buster-slim
RUN apt-get update && apt-get install -y libssl-dev
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