From ff581f06af60ec0052245ac2a7b753d95c9e7039 Mon Sep 17 00:00:00 2001 From: JoshuaG <104036091+joshuaghezzi@users.noreply.github.com> Date: Fri, 22 Dec 2023 12:51:48 +1100 Subject: [PATCH] Fix temporary go-sqlite3 build error (#21) * fix * update to conditional * redundant change * redact comment * remove comment --- containers/golang/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/golang/Dockerfile b/containers/golang/Dockerfile index 56560d5..c0b783f 100644 --- a/containers/golang/Dockerfile +++ b/containers/golang/Dockerfile @@ -4,7 +4,7 @@ RUN apk update && apk add bash build-base ARG tool_type=rubenv-sql-migrate RUN if [ "$tool_type" = "rubenv-sql-migrate" ]; then \ - go install github.com/rubenv/sql-migrate/...@latest; \ + CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go install github.com/rubenv/sql-migrate/...@latest; \ fi WORKDIR /