Company
Date Published
Author
-
Word count
1240
Language
English
Hacker News points
None

Summary

In response to the prevalence of Apple's M1 chip, Memgraph adapted its infrastructure to build Debian packages for the ARM64 architecture and developed multi-architecture Docker images. The process involved using Docker's buildx extension to enable the creation of images for multiple architectures, including AMD64 and ARM64, by leveraging a builder instance from the tonistiigi/binfmt repository. This was accomplished using Ubuntu 20.04 and required a minimum Docker version of 19.03. The guide also highlights the convenience of automating this process with GitHub Actions, which simplifies the building and uploading of Docker images to Dockerhub. The article concludes with a discussion on the architecture naming conventions used in Debian and RPM packages, settling on arm64 for Debian and aarch64 for RPM, in alignment with Docker's conventions. This adaptation ensures users receive compatible images regardless of their architecture when pulling from the Docker registry.