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

Building containers with func #2211

Open
d-m opened this issue Mar 8, 2024 · 2 comments
Open

Building containers with func #2211

d-m opened this issue Mar 8, 2024 · 2 comments

Comments

@d-m
Copy link

d-m commented Mar 8, 2024

Is it possible to specify the architecture, or build multiple architectures, using func? I'm using an ARM Mac with Podman and would like to also build amd64 images as well.

@matejvasek
Copy link
Contributor

The buildpack build strategy should always build amd64 at this time.
The s2i strategy should build for host architecture. You could however force s2i strategy to build for other architecture by specifying builder image --builder={image for the desired arch}.

@matejvasek
Copy link
Contributor

Also not that build for another architecture will be extremely slow. If architecture of your host machine and cluster differs I recommend on-cluster-build: func deploy --remote ....

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

2 participants