Commit f06876f
Fix CPU Dockerfile: use --extra-index-url instead of --index-url
Problem:
- CPU image build was failing in GitHub Actions
- Error: "moshi was not found in the package registry"
- Same issue as GPU Dockerfile had earlier
Root Cause:
- --index-url REPLACES the default PyPI index
- This prevents moshi (on PyPI) from being found
- Only PyTorch index was accessible
Solution:
- Changed --index-url to --extra-index-url
- This ADDS PyTorch CPU index while keeping PyPI access
- Now uv can find both:
- torch/torchaudio from PyTorch CPU index
- moshi from PyPI
Difference:
- --index-url: Replaces PyPI (only PyTorch repo)
- --extra-index-url: Adds PyTorch repo (PyPI + PyTorch)
This matches the fix already applied to main Dockerfile in commit 7d0524a.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c1584b2 commit f06876f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments