diff --git a/orchestration/coordinator/Dockerfile b/orchestration/coordinator/Dockerfile index 44be31160..3a929270c 100644 --- a/orchestration/coordinator/Dockerfile +++ b/orchestration/coordinator/Dockerfile @@ -46,7 +46,7 @@ RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/serai/target \ mkdir /serai/bin && \ - cargo build -p serai-coordinator --all-features && \ + cargo build -p serai-coordinator --features redb && \ mv /serai/target/debug/serai-coordinator /serai/bin FROM debian:bookworm-slim as image diff --git a/orchestration/coordinator/Dockerfile.coordinator b/orchestration/coordinator/Dockerfile.coordinator index c3cbbb45c..7ef6129e6 100644 --- a/orchestration/coordinator/Dockerfile.coordinator +++ b/orchestration/coordinator/Dockerfile.coordinator @@ -1,2 +1,2 @@ - cargo build -p serai-coordinator --all-features && \ + cargo build -p serai-coordinator --features redb && \ mv /serai/target/debug/serai-coordinator /serai/bin diff --git a/orchestration/message-queue/Dockerfile b/orchestration/message-queue/Dockerfile index c5ea8a6d9..08336e96c 100644 --- a/orchestration/message-queue/Dockerfile +++ b/orchestration/message-queue/Dockerfile @@ -46,7 +46,7 @@ RUN --mount=type=cache,target=/root/.cargo \ --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/serai/target \ mkdir /serai/bin && \ - cargo build --all-features -p serai-message-queue && \ + cargo build --features "binaries redb" -p serai-message-queue && \ mv /serai/target/debug/serai-message-queue /serai/bin FROM debian:bookworm-slim as image diff --git a/orchestration/message-queue/Dockerfile.message-queue b/orchestration/message-queue/Dockerfile.message-queue index beb697202..798502365 100644 --- a/orchestration/message-queue/Dockerfile.message-queue +++ b/orchestration/message-queue/Dockerfile.message-queue @@ -1,2 +1,2 @@ - cargo build --all-features -p serai-message-queue && \ + cargo build --features "binaries redb" -p serai-message-queue && \ mv /serai/target/debug/serai-message-queue /serai/bin