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

switch to use another cross-platform emulator #108

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Conversation

hawflau
Copy link
Contributor

@hawflau hawflau commented Nov 9, 2023

Issue #, if available:

Description of changes:
It takes almost 2 hours to build the provided.al2023 build image on arm platform. This PR switches to use tonistiigi/binfmt (the same default image that the docker/setup-qemu-action uses). It still setup the QEMU static binaries but provides a simpler interface to specify a single target platform (arm64 in our case).

After switching it, the duration to build the provided.al2023 build image reduced to 1hr40min.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hawflau hawflau marked this pull request as ready for review November 9, 2023 16:27
@hawflau hawflau requested a review from a team as a code owner November 9, 2023 16:27
@hawflau hawflau merged commit 1cc3ea5 into aws:develop Nov 9, 2023
28 checks passed
@hawflau hawflau deleted the qemu branch November 9, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants