Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions Dockerfile.coordinator
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
FROM rust:1.90-alpine AS chef

RUN apk add --no-cache \
musl-dev \
pkgconfig \
openssl-dev \
openssl-libs-static \
perl \
make
musl-dev

FROM rust:1.90-alpine AS chef
RUN cargo install cargo-chef --locked

WORKDIR /build

FROM chef AS planner

COPY Cargo.toml Cargo.lock ./
COPY bin ./bin
COPY bin/coordinator-server ./bin/coordinator-server
COPY crates ./crates

RUN cargo chef prepare --recipe-path recipe.json
Expand All @@ -24,6 +19,14 @@ FROM chef AS builder

COPY --from=planner /build/recipe.json recipe.json


RUN apk add --no-cache \
pkgconfig \
openssl-dev \
openssl-libs-static \
perl \
make

RUN cargo chef cook --release --recipe-path recipe.json --features sysbundle

COPY Cargo.toml Cargo.lock ./
Expand Down
Loading