Pin solver-service to linux/amd64 (no ARM wheels on PyPI)
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 28s
CI / test-go-edu-search (push) Successful in 29s
CI / test-python-klausur (push) Failing after 3m16s
CI / test-python-agent-core (push) Successful in 18s
CI / test-nodejs-website (push) Successful in 25s

timefold-solver only publishes x86_64 wheels — pip resolves to no
candidate on linux/arm64. Switch the compose entry to linux/amd64
so the image builds via QEMU/Rosetta on the Mac Mini. The cloud
target for this service is x86_64 anyway.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-05-22 00:22:34 +02:00
parent 1f2f304724
commit 22f08a232d
+4 -1
View File
@@ -302,7 +302,10 @@ services:
context: ./timetable-solver-service context: ./timetable-solver-service
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: bp-lehrer-timetable-solver container_name: bp-lehrer-timetable-solver
platform: linux/arm64 # timefold-solver only ships x86_64 wheels — emulate via Rosetta on
# the ARM Mac Mini. Cloud target (memory says cloud OK for this svc)
# would be linux/amd64 native.
platform: linux/amd64
ports: ports:
- "8095:8095" - "8095:8095"
environment: environment: