Skip to content

Commit

Permalink
Revert "Fix build docker with sqlite3 musl error (#234)"
Browse files Browse the repository at this point in the history
The commit 031e41a is a temporary workaround to fix musl build error, and now to remove `CGO_CFLAGS="-D_LARGEFILE64_SOURCE"` for building docker image, because go-sqlite3 library was upgraded to `1.14.19` [^1] and the musl build was fixed in go-sqlite3 version `1.14.19` [^2].

This reverts commit 031e41a (refer PR #234).

---

[^1]: commit hash ad6673b
[^2]: mattn/go-sqlite3#1177
  • Loading branch information
huiyifyj committed Dec 22, 2023
1 parent ad6673b commit 3d9614d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -10,7 +10,7 @@ COPY . .
RUN apk add --no-cache build-base make git; \
go mod download; \
go mod tidy; \
CGO_CFLAGS="-D_LARGEFILE64_SOURCE" make
make

# Server image
FROM alpine:latest
Expand Down

0 comments on commit 3d9614d

Please sign in to comment.