Package: autopkgtest
Version: 5.49
Severity: normal

On amd64, autopkgtest-build-podman failed to build an image for arm64:

  $ autopkgtest-build-podman --arch arm64
  Resolving "arm64v8/debian" using unqualified-search registries 
(/home/christian/.config/containers/registries.conf)
  Trying to pull docker.io/arm64v8/debian:unstable...
  Error: creating build container: choosing an image from manifest list 
docker://arm64v8/debian:unstable: no image found in image index for 
architecture "amd64", variant "", OS "linux"


I believe this is a consequence of how multi-platform images are now
specified.

In the currently generated Dockerfile, I see:

  FROM arm64v8/debian:unstable

Changing this to

  FROM --platform=linux/arm64/v8 debian:unstable

resolved the issue for me. So I believe the IMAGE argument passed in
must be updated.

Best,
Christian

Reply via email to