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

Build is missing architectures, can lead to unexpected results and limited architecture support #33

Open
klodner opened this issue Aug 29, 2021 · 0 comments

Comments

@klodner
Copy link

klodner commented Aug 29, 2021

docker build command by default builds image for the architecture it is running on so the result is dependent on runtime environment and can be missing desired target architectures.

exe = "docker build -t #{versioned_image(image, the_version)} -f ./dockerfiles/#{image}/Dockerfile ."

For consistent target architectures support should be used mutliarch build
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

And ARCH=amd64 + ARCH=arm64v8 used

ARM is widespread energy-efficient architecture used by major industry cloud providers and also edge devices allowing Manifold for climate-conscious sustainable publishing solutions.

Keeping ARM builds on users limits significantly the Manifold adoption for this architecture.

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

No branches or pull requests

1 participant