Skip to content

Build images for multiple platforms #35

@thekaveman

Description

@thekaveman

This is part of an ongoing series of issues we run into every now and again, when trying to pull/build this image in a local environment on a new architecture (e.g. Mac M3).

We think the solution is to have the publish.yml workflow build the Docker image for multiple platforms, following the advice from this Docker article: https://docs.docker.com/build/ci/github-actions/multi-platform/

We need to build for at least 2 platforms:

  • linux/amd64 for Windows and Linux devs
  • linux/arm64 for Mac devs on Apple Silicon

Once this change is in and the docker-python-web image is rebuilt into GHCR, devs on all architectures should be able to pull and run this image, and should be able to build e.g. the benefits_client image locally, which is based on this image.

Related

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions