You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the current base image (ubuntu:trusty) is already multi-arch and supports arm64/v8, would it be possible to build docker-stress with arm64 support as well? Stress tool is also available as a package for the target architecture so changing the build process results in an image with both amd64 and arm64 support.
As more people are using M1 MacBook Pros, would be nice to have the support in this repository.
Based on our tests, I can confirm that if we build the image as following, the resulting image works on MacBook Pro M1 as well as Raspberry PI 4 besides intel / AMD platforms as it currently does:
p.s. I only published it to see if it would work but I was not intending to keep syamaner/stress:multiarch as it would be better in this repository. Also if there is any way I can contribute, I would be happy to.
Hi,
Given the current base image (ubuntu:trusty) is already multi-arch and supports arm64/v8, would it be possible to build docker-stress with arm64 support as well? Stress tool is also available as a package for the target architecture so changing the build process results in an image with both amd64 and arm64 support.
As more people are using M1 MacBook Pros, would be nice to have the support in this repository.
Based on our tests, I can confirm that if we build the image as following, the resulting image works on MacBook Pro M1 as well as Raspberry PI 4 besides intel / AMD platforms as it currently does:
docker buildx build --push --platform linux/amd64,linux/arm64/v8 --tag syamaner/stress:multiarch ./build
Once built and published, we can verify as below:
docker buildx imagetools inspect syamaner/stress:multiarch
p.s. I only published it to see if it would work but I was not intending to keep syamaner/stress:multiarch as it would be better in this repository. Also if there is any way I can contribute, I would be happy to.
Further information is available here: https://docs.docker.com/build/building/multi-platform/
The text was updated successfully, but these errors were encountered: