mirror of
https://github.com/coaidev/coai.git
synced 2025-05-31 02:40:32 +09:00
fix: build error
This commit is contained in:
parent
0567748d19
commit
93458de303
11
Dockerfile
11
Dockerfile
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user