Skip to content

Commit 0f8ea90

Browse files
committed
Add reth-mdbx-sys build dependencies to all cargo chef Dockerfiles
1 parent d0da65c commit 0f8ea90

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

crates/audit/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM rust:1-bookworm AS base
22

3+
# Add dependencies for building reth-mdbx-sys (needed by workspace dependencies)
4+
RUN apt-get update && apt-get install -y \
5+
clang \
6+
libclang-dev \
7+
llvm-dev \
8+
pkg-config && \
9+
rm -rf /var/lib/apt/lists/*
10+
311
RUN cargo install cargo-chef --locked
412
WORKDIR /app
513

@@ -32,4 +40,4 @@ COPY --from=builder /tmp/tips-audit /app/tips-audit
3240

3341
EXPOSE 3001
3442

35-
CMD ["/app/tips-audit"]
43+
CMD ["/app/tips-audit"]

crates/ingress-rpc/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM rust:1-bookworm AS base
22

3+
# Add dependencies for building reth-mdbx-sys (needed by workspace dependencies)
4+
RUN apt-get update && apt-get install -y \
5+
clang \
6+
libclang-dev \
7+
llvm-dev \
8+
pkg-config && \
9+
rm -rf /var/lib/apt/lists/*
10+
311
RUN cargo install cargo-chef --locked
412
WORKDIR /app
513

@@ -32,4 +40,4 @@ COPY --from=builder /tmp/tips-ingress-rpc /app/tips-ingress-rpc
3240

3341
EXPOSE 3000
3442

35-
CMD ["/app/tips-ingress-rpc"]
43+
CMD ["/app/tips-ingress-rpc"]

crates/ingress-writer/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM rust:1-bookworm AS base
22

3+
# Add dependencies for building reth-mdbx-sys (needed by workspace dependencies)
4+
RUN apt-get update && apt-get install -y \
5+
clang \
6+
libclang-dev \
7+
llvm-dev \
8+
pkg-config && \
9+
rm -rf /var/lib/apt/lists/*
10+
311
RUN cargo install cargo-chef --locked
412
WORKDIR /app
513

@@ -30,4 +38,4 @@ WORKDIR /app
3038

3139
COPY --from=builder /tmp/tips-ingress-writer /app/tips-ingress-writer
3240

33-
CMD ["/app/tips-ingress-writer"]
41+
CMD ["/app/tips-ingress-writer"]

crates/maintenance/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM rust:1-bookworm AS base
22

3+
# Add dependencies for building reth-mdbx-sys (needed by workspace dependencies)
4+
RUN apt-get update && apt-get install -y \
5+
clang \
6+
libclang-dev \
7+
llvm-dev \
8+
pkg-config && \
9+
rm -rf /var/lib/apt/lists/*
10+
311
RUN cargo install cargo-chef --locked
412
WORKDIR /app
513

@@ -30,4 +38,4 @@ WORKDIR /app
3038

3139
COPY --from=builder /tmp/tips-maintenance /app/tips-maintenance
3240

33-
CMD ["/app/tips-maintenance"]
41+
CMD ["/app/tips-maintenance"]

0 commit comments

Comments
 (0)