Skip to content

Support linux/arm64 in docker build #74

Description

Hello,

Can we publish multi-arch images to include linux/arm64? From what I can tell and my own experimentation, there is nothing arch-specific about the emulator, so this should only require the docker build process to include the required architectures via docker buildx --platform or in a build step.

For example, running:

docker manifest inspect mcr.microsoft.com/azure-app-configuration/app-configuration-emulator:1.0.2 | jq -r '.manifests[].platform | "\(.architecture)/\(.os)"'

produces

amd64/linux

I have a sample workflow that publishes to GHCR and sets platforms in the docker build action to include linux/amd64,linux/arm64.

It produces this container: https://github.com/jpda/aace-arm64/pkgs/container/aace-arm64

docker manifest inspect ghcr.io/jpda/aace-arm64:1.0.2 | jq -r '.manifests[].platform | "\(.architecture)/\(.os)"'
amd64/linux
arm64/linux

This would be very helpful for folks using apple silicon or WSL on Windows on ARM.

thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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