-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document helpful tips for dev on Apple-silicon/ARM #215
Conversation
A small change that I do when something fails on apple, is to force podman to use amd64 in the build commands. works pretty nice. We could have in the Makefile a if to append args, e.g. when using podman && arm, appends args. |
490a5ea
to
01acced
Compare
Ciao @spolti !! 👋 I've tried Podman, but for some reasons it didn't work well on Mac (at least I've installed all necessary Mac-helpers) specifically when using TestContainers for Go it required code-changes (beyond config changes) unfortunately. I'm not against using it, but at least when developing for this project, so far the best experience was with Colima. Always happy to hear if anyone can report difference experiences! |
01acced
to
a3a88f4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #215 +/- ##
=======================================
Coverage 74.52% 74.52%
=======================================
Files 17 17
Lines 2296 2296
Branches 73 73
=======================================
Hits 1711 1711
Misses 420 420
Partials 165 165 ☔ View full report in Codecov by Sentry. |
Thanks for the explanation @tarilabs, how did you install podman? All I did was install podman and podman-desktop. |
Homebrew, as instructed here: https://podman.io/docs/installation#macos:~:text=to%20install%20Podman%3A-,brew%20install%20podman,-Next%2C%20create%20and The thing is I would like to be sure to leverage Rosetta more than just plain qemu, especially for the DevContainer (per this doc shows). But maybe I misunderstood qemu on Mac... DevContainer part aside; additionally, I was not able for Testcontainers for Go, to reckon Podman was installed, hence I needed to modify lines such as this one: to specify explicitly podman to be used. Always happy to hear if anyone get different experience (I'm on Apple-silicon Mac OSX) |
a3a88f4
to
5085145
Compare
For that line in specific, maybe not hardcode it? |
that is clearly an option, but somehow according to Testcontainers that should not even be needed; unfortunately I didn't have bandwidth to look further into this, given using alternative docker-engine managers just worked |
2a7d469
to
f37bba8
Compare
... | ||
``` | ||
|
||
and now you can substitute `gmake` every time the make command is mentioned in guides (or perform the path management per the caveat). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't better to use just make as stated in the comment? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean to adopt the caveat instructions per homebrew install log? :)
that is optional, so I want to keep it same options for our readers (personally I'm just using gmake)
f37bba8
to
a127c05
Compare
Resolves #214
Description
bootstrap documentation as discussed.
Follows-up also on:
How Has This Been Tested?
n/a
Merge criteria: