From c3f1b82d26183d883e71e80d0ebbc5dd344e01d5 Mon Sep 17 00:00:00 2001 From: Shuning Chen Date: Mon, 11 Dec 2023 14:54:46 +0800 Subject: [PATCH] ci: fix docker build Signed-off-by: Shuning Chen --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 550b1c1bb72..d3f0025023b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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