@@ -13,7 +13,7 @@ RUN git clone --depth 1 https://github.com/gogs/gogs.git gogs
WORKDIR /build/gogs/gogs
-RUN go build -o gogs -tags "sqlite"
+RUN go build -o gogs -tags "sqlite" CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
RUN rm -rf .git vendor conf docker pkg