fix(rusher): add musl-dev to fix crti.o linker error on Alpine
rust:1.85-alpine does not include musl-dev, causing the gcc linker to fail with "cannot find crti.o". Required for serde_derive and other proc-macro crates to compile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
04cf11be83
commit
f4baa4b817
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ WORKDIR /app
|
|||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY src ./src
|
||||
|
||||
RUN cargo build --release
|
||||
RUN apk add --no-cache musl-dev && cargo build --release
|
||||
|
||||
# Runtime stage
|
||||
FROM alpine:3.21
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue