Skip to content

Commit

Permalink
Try fixing arm64 build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaydimitrov committed Feb 6, 2025
1 parent 6524cfd commit 63f16c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN go mod download
#RUN CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" GOOS=linux go build github.com/Kagami/go-face
#RUN CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" GOOS=linux go build github.com/mattn/go-sqlite3
COPY . /go/src/circled-server
RUN CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE" GOOS=linux go build -a -installsuffix cgo -o circled-server .
RUN CGO_ENABLED=1 CGO_CFLAGS="-D_LARGEFILE64_SOURCE -w" GOOS=linux go build -a -installsuffix cgo -o circled-server .

# Final output image
FROM alpine:3.21
Expand Down

0 comments on commit 63f16c5

Please sign in to comment.