Testing docker build

This commit is contained in:
pawan
2020-06-30 01:37:55 +05:30
parent f76373f428
commit 197140d697

View File

@@ -1,6 +1,7 @@
FROM rust:1.43.1 AS builder FROM rust:1.43.1 AS builder
RUN apt-get update && apt-get install -y cmake RUN apt-get update && apt-get install -y cmake git
COPY . lighthouse RUN git clone https://github.com/sigp/lighthouse
RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
RUN cd lighthouse && make RUN cd lighthouse && make
RUN cd lighthouse && cargo install --path lcli --locked RUN cd lighthouse && cargo install --path lcli --locked