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 |
||
|---|---|---|
| .. | ||
| docker | ||
| README.md | ||
Build Configuration
This directory contains build configurations for containerization.
Docker
Location: build/docker/
Dockerfiles
simple.Dockerfile- Lightweight API server imageapi-server.Dockerfile- Full-featured API server
Usage
# Build from project root
docker build -f build/docker/simple.Dockerfile -t fetchml:latest .
# Or use Makefile
make docker-build
Podman
Location: ../podman/
Podman configurations for running ML experiments with GPU support.
Note: Not for building - these are runtime configs for experiment execution.