
The logic to extract layers from a downloaded Docker image assumed that the layer entries in the image tar archive always had the file extension `.tar`. This was the case with Docker and other compatible daemons until Docker 25.0. With this commit, the extension is no longer assumed, but any entries listed in `manifest.json` will be recognized. Fixes gh-39323