Add multi-architecture Docker image builds using Docker Buildx

オープン
#2,403 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, docker-compose, github-actions
領域
ci-cd, devops

調査の方向性

Start by locating the existing Docker build workflow and image publishing steps, then read how it handles tags and registry credentials. Update that workflow to build and verify linux/amd64 and linux/arm64 images with Buildx, caching, and a multi-architecture manifest. Done means the workflow publishes the requested tags only after both architectures build successfully; the payload does not name specific workflow files or tests.

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem?

The project currently supports Docker-based containerization, but Docker images are built for a single architecture by default. As ARM-based systems such as Apple Silicon, Raspberry Pi, and ARM cloud instances become more common, users may encounter compatibility issues when attempting to run the published container images.

Proposed Solution

Enhance the existing Docker build workflow by integrating Docker Buildx to support multi-architecture image builds.

The workflow should:

  • Set up Docker Buildx in GitHub Actions.
  • Build images for both linux/amd64 and linux/arm64.
  • Publish a multi-architecture image manifest to the container registry.
  • Tag images consistently using latest, commit SHA, and release versions where applicable.
  • Leverage Docker layer caching to improve build performance.
  • Verify that images for both architectures are successfully built before publishing.

This will ensure the project's container images are compatible with a wider range of development and production environments.

Alternatives Considered

An alternative is to build and publish separate Docker images for each architecture manually. While this approach works, it increases maintenance effort, complicates the release process, and requires users to select the appropriate image themselves. Multi-architecture images provide a seamless experience by automatically delivering the correct image for the user's platform.

Additional Context

Multi-architecture Docker images have become a standard practice in modern containerized applications. Supporting both AMD64 and ARM64 improves portability across cloud providers, development machines, and edge devices while making the project more accessible to a broader community of users.

主要言語
Python
スター
36
フォーク
234
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

utksh1/SecuScan のほかの issue

utksh1/SecuScan の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。