Skip to content
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

Set default architecture (without passing --platform)? #25641

Open
flouthoc opened this issue Mar 21, 2025 · 0 comments
Open

Set default architecture (without passing --platform)? #25641

flouthoc opened this issue Mar 21, 2025 · 0 comments

Comments

@flouthoc
Copy link
Collaborator

Discussed in #25623

Originally posted by jeliker1 March 18, 2025
I have been happily using podman to create fnproject.io deployments until this week. The issue is that the build is for arm64 (which is my local machine Mac M4) though previously I was building amd64 without doing anything special.

Frankly can't tell what changed except possibly a version upgrade for podman. Is all very perplexing as I don't find any reference to this behavior changing (even if it is version related).

Any recommendations how to set a default build architecture such as you would set with --platform since the fn executable doesn't support passing through parameters like that. It can pass build-args but I've not found anything that will set the build target architecture. Thank you for any advice.

Jon-Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant