fetch_ml/build/docker
Jeremie Fraeys c89d970210
refactor: migrate from env var to build tags for native libs
Replace FETCHML_NATIVE_LIBS=1 environment variable with -tags native_libs:

Changes:
- internal/queue/native_queue.go: UseNativeQueue is now const true
- internal/queue/native_queue_stub.go: UseNativeQueue is now const false
- build/docker/simple.Dockerfile: Add -tags native_libs to go build
- deployments/docker-compose.dev.yml: Remove FETCHML_NATIVE_LIBS env var
- native/README.md: Update documentation for build tags
- scripts/test-native-with-redis.sh: New test script with Redis via docker-compose

Benefits:
- Compile-time enforcement (no runtime checks needed)
- Cleaner deployment (no env var management)
- Type safety (const vs var)
- Simpler testing with docker-compose Redis integration
2026-02-21 13:43:58 -05:00
..
.dockerignore feat: add comprehensive configuration and deployment infrastructure 2025-12-04 16:54:02 -05:00
api-server.Dockerfile ci: align workflows, build scripts, and docs with current architecture 2026-01-05 12:34:23 -05:00
full-prod.Dockerfile ci: align workflows, build scripts, and docs with current architecture 2026-01-05 12:34:23 -05:00
homelab-secure.Dockerfile ci: align workflows, build scripts, and docs with current architecture 2026-01-05 12:34:23 -05:00
secure-prod.Dockerfile ci: align workflows, build scripts, and docs with current architecture 2026-01-05 12:34:23 -05:00
simple.Dockerfile refactor: migrate from env var to build tags for native libs 2026-02-21 13:43:58 -05:00
test.Dockerfile ci: align workflows, build scripts, and docs with current architecture 2026-01-05 12:34:23 -05:00