Changes
Dockerfile / Dockerfile.fasttext
- Select JDK architecture (
x64/aarch64) based onTARGETARCHat build time - Build Go entrypoint binary for target architecture (
GOARCH=${TARGETARCH}) - Build
go_buildstage on host platform (--platform=\$BUILDPLATFORM) for cross-compilation - Apply
no-march-native.patchto fasttext build (Dockerfile.fasttext only)
entrypoint
- Bump
github.com/beevik/etreedependency from v1.4.1 to v1.6.0