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

Multi-architecture support for building (example, building an x86 image using an ARM machine) #28

Closed
cdrage opened this issue Jan 12, 2024 · 10 comments · Fixed by #146
Closed
Assignees
Labels
1.0.0 Must haves for 1.0.0 release
Milestone

Comments

@cdrage
Copy link
Contributor

cdrage commented Jan 12, 2024

I should be able to build a amd64 bootable container using my Mac (arm64) and then be able to plug it into an amd64 machine / use it.

@cdrage cdrage changed the title Be able to build amd64 on a arm64 machine / multi-arch support Multi-architecture support for building (example, building an x86 image using an ARM machine) Jan 30, 2024
@cdrage
Copy link
Contributor Author

cdrage commented Jan 30, 2024

Tracked upstream via: osbuild/bootc-image-builder#153

@cdrage cdrage added the 1.0.0 Must haves for 1.0.0 release label Jan 30, 2024
@cdrage cdrage moved this to 📅 Planned in Podman Desktop Planning Feb 14, 2024
deboer-tim added a commit to deboer-tim/podman-desktop-extension-bootc that referenced this issue Feb 15, 2024
Step up to the latest image builder, and adds support for the new
--target-arch parameter, which supports building arm64 and amd64
disk images.

Fixes podman-desktop#28.

Signed-off-by: Tim deBoer <[email protected]>
@deboer-tim deboer-tim moved this from 📅 Planned to 🚥 In Review in Podman Desktop Planning Feb 15, 2024
@deboer-tim deboer-tim self-assigned this Feb 15, 2024
deboer-tim added a commit that referenced this issue Feb 15, 2024
Step up to the latest image builder, and adds support for the new
--target-arch parameter, which supports building arm64 and amd64
disk images.

Fixes #28.

Signed-off-by: Tim deBoer <[email protected]>
@github-project-automation github-project-automation bot moved this from 🚥 In Review to ✔️ Done in Podman Desktop Planning Feb 15, 2024
@deboer-tim deboer-tim reopened this Feb 21, 2024
@deboer-tim
Copy link
Contributor

Reopening due to complications with making sure we have a usable image at the end.

@deboer-tim deboer-tim moved this from ✔️ Done to 🚧 In Progress in Podman Desktop Planning Feb 21, 2024
@cdrage
Copy link
Contributor Author

cdrage commented Mar 4, 2024

containers/podman#21882 has been closed, the images updated, and can confirm that we can now build multi-arch.

However... it is podman 5.0 only.

@nichjones1 nichjones1 added this to the 1.0 milestone Mar 5, 2024
@ericcurtin
Copy link

This will be super useful for Automotive... In Automotive, there's a lot of demand to do the opposite... Building an ARM image on x86

@vrothberg
Copy link
Contributor

@cdrage are we waiting for the 5.0 release before closing this issue?

@cdrage
Copy link
Contributor Author

cdrage commented Mar 12, 2024

@cdrage are we waiting for the 5.0 release before closing this issue?

Yes. As well as having more documentation on 5.0 / validation checks within the extension.

@cdrage
Copy link
Contributor Author

cdrage commented Mar 13, 2024

Keeping issue open until we have more documentation on the main page (updated with "build image" web view part).

@cdrage
Copy link
Contributor Author

cdrage commented Mar 20, 2024

@deboer-tim @slemeur

We have added the updated image as per #178

Documentation has been updated to note that it has to be 5.0

We plan to update the documentation once we have #150 in

Should we close this issue now?

@deboer-tim
Copy link
Contributor

Yes, I am fine closing. I'm guessing we will still have some minor tweak or doc update, but the function is in and working on our part so no need to keep this open.

@vrothberg
Copy link
Contributor

Nice work, everyone!

@github-project-automation github-project-automation bot moved this from 🚧 In Progress to ✔️ Done in Podman Desktop Planning Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0.0 Must haves for 1.0.0 release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants