Skip to content

Commit

Permalink
Correct feature flagging of coordinator and message-queue in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Nov 26, 2023
1 parent 71296f1 commit ba38a66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion orchestration/coordinator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion orchestration/coordinator/Dockerfile.coordinator
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion orchestration/message-queue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion orchestration/message-queue/Dockerfile.message-queue
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ba38a66

Please sign in to comment.