File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,10 @@ pip install -e ".[dev]"
140140pytest tests/
141141```
142142
143+ The mock service container is forced to run as ` linux/amd64 ` to keep parity with CI
144+ and to work reliably on Apple Silicon machines (Docker Desktop will handle
145+ emulation automatically).
146+
143147** Using an existing service (CI/production):**
144148
145149``` bash
Original file line number Diff line number Diff line change @@ -42,8 +42,11 @@ def __init__(
4242 self ,
4343 image : str = "ghcr.io/altertable-ai/altertable-mock:latest" ,
4444 port : int = 15002 ,
45+ platform : str = "linux/amd64" ,
4546 ):
46- super ().__init__ (image )
47+ # Force the mock service to run on linux/amd64 so Apple Silicon hosts use the
48+ # correct architecture (via emulation when needed).
49+ super ().__init__ (image , platform = platform )
4750 self .port = port
4851 self .with_exposed_ports (port )
4952 self .with_env ("ALTERTABLE_MOCK_FLIGHT_PORT" , str (port ))
You can’t perform that action at this time.
0 commit comments