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

php:8.0.0RC5-cli-alpine not usable - wrong manifest #1086

Closed
ondrejmirtes opened this issue Nov 21, 2020 · 1 comment
Closed

php:8.0.0RC5-cli-alpine not usable - wrong manifest #1086

ondrejmirtes opened this issue Nov 21, 2020 · 1 comment

Comments

@ondrejmirtes
Copy link

When I try to base my image on php:8.0.0RC5-cli-alpine, it fails when building:

#3 [internal] load metadata for docker.io/library/php:8.0.0RC5-cli-alpine 
#3 ERROR: failed to copy: httpReaderSeeker: failed open: could not fetch content descriptor sha256:133e3779a83d11e84e1c4beda5ee7d5a95aa8c4cbadcd6d2a53b95ee1d4278b5 (application/vnd.docker.distribution.manifest.v1+json) from remote: not found

Interestingly, it works when I use php:rc-cli-alpine.

Someone more proficient in Docker told me on the community Slack:

Hi Ondřej Mirtes yes looks like they have used the wrong manifest for linux/amd64:

$ docker buildx imagetools inspect docker.io/library/php:8.0.0RC5-cli-alpine
Name:      docker.io/library/php:8.0.0RC5-cli-alpine
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:17fad02da30e9704fa03cb88d40468be376fce6dcd47e3dcb431dfdf698ba990
Manifests:
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:133e3779a83d11e84e1c4beda5ee7d5a95aa8c4cbadcd6d2a53b95ee1d4278b5
  MediaType: application/vnd.docker.distribution.manifest.v1+json
  Platform:  linux/amd64
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:9932e36559a0e82f4536024c60f2677e152f04d5d040d2fda3125625bf580ddd
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v6
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:91cf8a32c59b82604d64f69c1eafe0ff362932ef95e9aa9fbbbe99da72c2b829
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v7
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:9ebfe293e605619b93279ba0c8fcc1aa8f2512bf9ccdc6743b59ff3dc384d7be
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm64/v8
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:a1431a7c30308997ae6b693c7bc705354134b653ac0bf647b8e34e3aec7b06cf
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/386
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:ebbda89728aaa22c80aa16c3a1815f4f42c378c7242b87c875af671164aff2ec
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/ppc64le
  Name:      docker.io/library/php:8.0.0RC5-cli-alpine@sha256:eddec5b10930ad294752d18f5f07da05489c117a0a4e49e18bd1acdde69faeb7
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/s390x
@tianon
Copy link
Member

tianon commented Nov 23, 2020

Looks like this was another unfortunate instance of docker-library/golang#269 -- however, in this case it's an actively supported tag, so I've gone and re-pushed the built artifact (which appears to have fixed amd64/php:8.0.0RC5-cli-alpine properly), and re-triggered the manifest list which appears to have updated library/php:8.0.0RC5-cli-alpine properly too.

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

2 participants