Skip to content

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

@klodner

Description

@klodner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions