Skip to content

Commit

Permalink
Revert the commit because of upgrading go-sqlite3 to 1.14.19 (#239)
Browse files Browse the repository at this point in the history
Revert "Fix build docker with sqlite3 musl error (#234)" commit.

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 23, 2023
1 parent edde923 commit 2b6bd96
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 2b6bd96

Please sign in to comment.