Skip to content

Commit a30b6b0

Browse files
committed
Fix Dockerfile: install C build deps for leveldb-sys
1 parent ece5ca6 commit a30b6b0

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
FROM rust:1.88-bookworm AS builder
22

3+
RUN apt-get update && apt-get install -y \
4+
cmake \
5+
clang \
6+
libclang-dev \
7+
protobuf-compiler \
8+
git \
9+
&& rm -rf /var/lib/apt/lists/*
10+
311
WORKDIR /build
412
COPY . .
513

6-
RUN git submodule update --init --recursive
14+
RUN cd lighthouse && git submodule update --init --recursive
715

816
WORKDIR /build/lighthouse
917

0 commit comments

Comments
 (0)