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

Update Makefile to add multi-arch build option #529

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggee
Copy link

@ggee ggee commented Jun 10, 2023

Add ability to compile for multiple architectures like amd64 and ARM.

If you get this error
ERROR: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")

Create a buildx environment.

docker buildx create --name multiarch --driver docker-container --use

Then run make targets

Tested on Ubuntu 20.04.6 LTS with custom push to personal repo
https://hub.docker.com/r/greggee/mineos/tags

Add ability to compile for multiple architectures like amd64 and ARM.

If you get this error
ERROR: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")

Create a buildx environment.

docker buildx create --name multiarch --driver docker-container --use

Then run make targets

Tested on Ubuntu 20.04.6 LTS
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

Successfully merging this pull request may close these issues.

1 participant