hackforla / hackforla/peopledepot

ER: Create DR for why we make mac users build amd64 docker image

Open
#304 0 comments 0 reactions 0 assignees View on GitHub
complexity: medium ER feature: DR PII: FALSE role: dev lead s: PD team size: 0.5pt
Dominant language
Python
Stars
14
Forks
37
Avg merge
9d 15h
Merged PRs (30d)
5

Description

### Emergent Requirement - We need to document the decision to make mac users build amd64 docker images rather than native ones

### Issue you discovered this emergent requirement in

- #177 [this comment explains what's being done](https://github.com/hackforla/peopledepot/pull/275#issuecomment-2157092481)

### Date discovered 2024-06-09

### Did you have to do something temporarily

- [x] YES
- [ ] NO

### Who was involved

@freaky4wrld @fyliu

### What happens if this is not addressed

Mac users wouldn't know what went into the decision and why it's the better one. Future team might choose the more obvious option without considering the trade-offs.

### Resources

- [The problem and several solutions](https://pythonspeed.com/articles/docker-build-problems-mac/)
- [Explanation of how Rosetta 2 works compared to cpu emulation](https://stackoverflow.com/a/73625246)
- [Syntax for adding to docker-compose file](https://stackoverflow.com/a/68434363)
- See the original PR discussion for more details

### Recommended Action Items

- [ ] Create a new DR page to explain everything

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.