this post was submitted on 28 Oct 2023
305 points (98.4% liked)
Technology
59666 readers
2625 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don’t know exactly what software you use for work, but for simple cases docker desktop uses binfmt-misc to enable Rosetta and qemu-user for containers. This actually makes it really easy to build and test for a bunch of different architectures, x86 but also ppc64le, mips, etc. With x86-64 specifically you get Rosetta for very high performance. I know tools like gdb don’t work right in this environment, but thats not usually part of a typical ci/cd system anyways.
Quick responses, sorry.
In general, the "use containers for everything" is not a good workflow. It's also very subjective to performance on the platform you run it on. Containers all the time is exhausting and problematic for a number of different reasons.