Skip to content

Commit 5eaa0ad

Browse files
committed
Update Dockerfile to install build-base along with git in the build stage
1 parent c9a18f0 commit 5eaa0ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# --- Build Stage ---
2-
# THIS IS THE FIX: Use the Alpine variant of the Rust image
32
FROM rust:alpine AS builder
43

5-
# Install Git, which is needed by cargo
6-
RUN apk add --no-cache git
4+
# THIS IS THE FIX:
5+
# Install the C compiler toolchain (build-base) along with git.
6+
RUN apk add --no-cache git build-base
77

88
WORKDIR /app
99

0 commit comments

Comments
 (0)