mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 23:21:00 +08:00
fix: cgo
This commit is contained in:
@@ -10,7 +10,7 @@ COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN go build -o polaris ./cmd/
|
||||
RUN CGO_ENABLED=1 go build -o polaris ./cmd/
|
||||
|
||||
FROM alpine:3.20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user