Skip to content

Commit

Permalink
ci: fix docker build sqlite3 and alpine 3.19 incompatibility (tikv#7522)
Browse files Browse the repository at this point in the history
close tikv#7521

ci: fix docker build with musl compatibility issue

Signed-off-by: Shuning Chen <nolouch@ShuningdeMacBook-Pro.local>

Co-authored-by: Shuning Chen <nolouch@ShuningdeMacBook-Pro.local>
  • Loading branch information
nolouch and Shuning Chen authored Dec 11, 2023
1 parent 00674d0 commit bd155f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ RUN GO111MODULE=on go mod download

COPY . .

RUN make
# Workaround sqlite3 and alpine 3.19 incompatibility
# https://github.com/mattn/go-sqlite3/issues/1164
RUN CGO_CFLAGS="-D_LARGEFILE64_SOURCE" make

FROM alpine:3.17

Expand Down

0 comments on commit bd155f6

Please sign in to comment.