Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest docker images were built without linux/amd64 support #34

Closed
nektru opened this issue Apr 13, 2023 · 5 comments
Closed

The latest docker images were built without linux/amd64 support #34

nektru opened this issue Apr 13, 2023 · 5 comments

Comments

@nektru
Copy link

nektru commented Apr 13, 2023

What steps will reproduce the problem?

I have a linux host with amd64 processor.

$ uname -o -p
x86_64 GNU/Linux

And I can`t pull the latest docker images:

$ docker pull yiisoftware/yii-php:8.1-fpm
8.1-fpm: Pulling from yiisoftware/yii-php
no matching manifest for linux/amd64 in the manifest list entries
$ docker pull yiisoftware/yii-php:8.2-fpm
8.2-fpm: Pulling from yiisoftware/yii-php
no matching manifest for linux/amd64 in the manifest list entries

What is the expected result?

Previous version are pullable. I want the same result in the latest version.

$ docker pull yiisoftware/yii-php:8.1-fpm-22.7.1
8.1-fpm-22.7.1: Pulling from yiisoftware/yii-php
461246efe0a7: Already exists 
220ce72386de: Pull complete
...

Additional info

Last images is build for arm64 only:

$ docker manifest inspect yiisoftware/yii-php:8.1-fpm
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 4845,
         "digest": "sha256:225fb27ab37fbd89cfc400564e8da17255cd0f7ff30a6f4e0b2c6a1bff3f9095",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 566,
         "digest": "sha256:3651b9b1d7574035b2bd549863f73930020e996eecb478bbf3873c38f26dc0c3",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      }
   ]
}
@michaelarnauts
Copy link

I can confirm this. I'm unable to pull amd64 images.

$ docker pull yiisoftware/yii2-php:8.2-apache
8.2-apache: Pulling from yiisoftware/yii2-php
no matching manifest for linux/amd64 in the manifest list entries

@schmunk42
Copy link
Contributor

Should be fixed for amd64, but arm64 is gone :(
I created a tag to re-add them.

Underlying issue: docker/bake-action#58

@schmunk42
Copy link
Contributor

@nektru @michaelarnauts

Could you give 7.0-apache-23.4.0-min a try, just to check if multi-arch is working basically.

8.2 images are still building

@schmunk42
Copy link
Contributor

Please have a look at https://github.com/yiisoft/yii-docker#available-versions-for-yiisoftwareyii-php

Is it understandable? :)

I added -latest images amd64 only for regular commits.
ARM images are built weekly, manually or when there's a tag.

@nektru
Copy link
Author

nektru commented Apr 13, 2023

Could you give 7.0-apache-23.4.0-min a try, just to check if multi-arch is working basically.

It works:

$ docker pull yiisoftware/yii2-php:7.0-apache-23.4.0-min
7.0-apache-23.4.0-min: Pulling from yiisoftware/yii2-php
177e7ef0df69: Pull complete 
...

And it's manifest:

$ docker manifest inspect yiisoftware/yii2-php:7.0-apache-23.4.0-min
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 4085,
         "digest": "sha256:cc5161defdcf5b924b910ce00053ea99d2a81076d5fcdfd21f22ddad49f1f687",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 4085,
         "digest": "sha256:5980d94f3879be7a951ea9f77ebf206acb9c2ba33c2a991cd7b8c77af112a4d6",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 566,
         "digest": "sha256:14bdcdacbeafb146c322ab2869c6dd0ff59de9bff7cc81a4907f0c5e6ef8fd12",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 566,
         "digest": "sha256:099388cd42040092b6c78fc51e45b457e7bae75a0725ac2599f2b6a8c426de4d",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      }
   ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants