summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-07 06:04:00 +0200
committerGitHub <noreply@github.com>2020-06-07 00:04:00 -0400
commita076cb2a4c2f1a71f9d6bc87696f48a035b102ac (patch)
treef038cb8977b69359cc6136cfda0fe90e65442e53 /Dockerfile
parent530ae650f36ee29eeccc88f076fd69828c1ef0a0 (diff)
downloadgitea-a076cb2a4c2f1a71f9d6bc87696f48a035b102ac.tar.gz
gitea-a076cb2a4c2f1a71f9d6bc87696f48a035b102ac.zip
Increase maximum SQLite variables count to 32766 (#11696) (#11783)
* Increase maximum SQLite variables count to 32766 (#11696) per https://www.sqlite.org/limits.html Co-authored-by: techknowlogick <techknowlogick@gitea.io> (cherry picked from commit a5aa5c58c1bf5a0c91226e0cbbd7b95bb8f74692) * Fix missing CGO_EXTRA_FLAGS build arg for docker Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8093853605..2f2d67f2a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ ENV GOPROXY ${GOPROXY:-direct}
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata $TAGS"
+ARG CGO_EXTRA_CFLAGS
#Build deps
RUN apk --no-cache add build-base git nodejs npm