fix: build error

This commit is contained in:
Sh1n3zZ 2025-02-11 14:00:21 +08:00
parent 0567748d19
commit 93458de303
No known key found for this signature in database
GPG Key ID: 696702CF723B0452

View File

@ -12,7 +12,16 @@ COPY . .
ENV GOOS=linux GO111MODULE=on CGO_ENABLED=1
# Install dependencies for cgo
RUN apk add --no-cache gcc musl-dev
RUN apk add --no-cache \
gcc \
musl-dev \
g++ \
make \
linux-headers \
libc-dev \
pkgconfig \
build-base \
binutils-gold
# Build backend
RUN go install && \