helper: build_image on ARM does not add the --platform=linux/amd64 flag by default
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 12.7k
- Forks
- 2.9k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 62
Description
This will cause the build_image on ARM architecture (like Mac) to default to an arm64 image.
Will be fixed and tested next week.
Quick (temporary) fix:
Add this snippet on line 670 in helper.py
```python
if architecture == 'x86_64':
build_args += ['--platform', 'linux/amd64']
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review helper.py around line 670 and the build_image entry point. Verify the reported ARM behavior and confirm the change is tested as promised; done means ARM builds use the intended linux/amd64 platform by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100