-
Notifications
You must be signed in to change notification settings - Fork 14
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
AZ CLI Dockerfile scaffolding assumes amd64
?
#29
Comments
Alternatively, is there a way we can indicate what architecture Porter uses when building its images? (I ran into this while using |
Just to understand, the issue is that when running inside amd64, porter builds an amd64 image, yes? |
Just to clarify and set expectations on what should work.
I will count this as a request for us to support different OS/ARCH combinations for the runtime and client that are M1 friendly. The former (1) is a large feature that will require a Porter Enhancement Proposal to figure out how it should work. The later (2) is a small feature that could be done without a PEP. Off the top of my head we would want to compile with Go 1.16, and update the client matrix in all of our makefiles (for porter and the mixins) to include the new ARCH. Also the installers would need to be improved to select the appropriate arch to download for the client. |
The issue is that |
@carolynvs I'm ok with Porter not generally supporting |
Thanks that's a great workaround! |
I discovered (presumably) why my
porter install
was failing on my M1 Mac; it looks like the AZ CLI mixinDockerfile
scaffolding assumes anamd64
architecture. The bundle is successfully created, but then theaz
commands fail, being unable to find theamd64
Linux libraries it expects in the container.The text was updated successfully, but these errors were encountered: