<#7014 Fix Docker build for CGO-dependent sqlite3 ...
# flyte-github
a
#7014 Fix Docker build for CGO-dependent sqlite3 package Pull request opened by pingsutw Summary • Remove cross-compilation (
--platform=${BUILDPLATFORM}
) from Dockerfile since
go-sqlite3
requires CGO which is incompatible with cross-compilation • Enable
CGO_ENABLED=1
for native build • Fix
.dockerignore
negation pattern by replacing unreliable
gen/
+
!gen/go/**
with explicit subdirectory exclusions (
gen/python/
,
gen/rust/
,
gen/ts/
) • Copy only
gen/go
instead of full
gen
directory in Dockerfile Test plan • Verified
docker build -f Dockerfile .
completes successfully • Verified
make sandbox-build
completes successfully •
main
• #6583 • #7014 👈 flyteorg/flyte