Skip to content

Docker image arch #223

@Gujiawei-Edinburgh

Description

@Gujiawei-Edinburgh

Missing Arch for Docker image

I found that the docker build script only use the docker daemon arch, which will cause miss other arch, e.g., arm64

The build command should be something like

docker buildx build \
  -f "$dockerfile" \
  --platform linux/amd64,linux/arm64 \
  --build-arg BIFROMQ_VERSION="$version" \
  -t "$tag" \
  "$context_dir" \
  --push

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