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

Support cross platform builds #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mmartinv
Copy link

@mmartinv mmartinv commented Dec 2, 2022

Add support for cross building the following platforms:

  • linux/386
  • linux/amd64
  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64
  • linux/ppc64le
  • linux/s390x

To build for a different platform other than the local native platform the
qemu-user-static package must be installed.

Example to build AMD64, ARM64 and ARMv7 platforms:

make PLATFORM="linux/amd64 linux/arm64 linux/arm/v7" all-images

@mmartinv mmartinv force-pushed the support-platform-builds branch 4 times, most recently from 47bcd6e to 32a1e42 Compare December 15, 2022 10:29
Add support for cross building the following platforms:

- `linux/386`
- `linux/amd64`
- `linux/arm/v6`
- `linux/arm/v7`
- `linux/arm64`
- `linux/ppc64le`
- `linux/s390x`

To build for a different platform other than the local native platform the
`qemu-user-static` package must be installed.

Example to build AMD64, ARM64 and ARMv7 platforms:
```
make PLATFORM="linux/amd64 linux/arm64 linux/arm/v7" all-images
```
@flashcode flashcode added the enhancement New feature or request label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants