WebOfTrust / keripy

Key Event Receipt Infrastructure - the spec and implementation of the KERI protocol
https://keripy.readthedocs.io/en/latest/
Apache License 2.0
60 stars 55 forks source link

adds docker support for multiple architectures #832

Closed m00sey closed 3 months ago

m00sey commented 3 months ago

Attempts to address #831

Updates the Makefile to use the docker build command with --platform and multiple architectures argument.

This required a change to the local Docker (for Desktop) installation being used to create the images.

In order to use the multi-platform build enable the containerd image store
The containerd image store is not enabled by default.
To enable the feature for Docker Desktop:
    Navigate to Settings in Docker Desktop.
    In the General tab, check Use containerd for pulling and storing images.
    Select Apply and Restart.

The result is build referencing multiple architectures:

Screenshot 2024-07-31 at 11 40 38 AM

Screenshot 2024-07-31 at 11 40 08 AM