microsoft / microsoft/pxt-microbit
`pext/yotta:latest` image type has been deprecated and stopped working with latest docker
@riknoll is already working on this.
Since Jul 10, 2024.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Trying to build Makecode with Docker v26+ fails, as trying to pull the pext/yotta:latest image (for the V2 CODAL build) throws the following error:
$ docker pull pext/yotta:latest
latest: Pulling from pext/yotta
[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/pext/yotta:latest to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/
This docker image type was deprecated in Docker v19, it has been disabled already in v26, and v27 (which was release a couple of weeks ago) has completely and permanently removed the functionality:
https://docs.docker.com/engine/deprecated/#pushing-and-pulling-with-image-manifest-v2-schema-1
The GH Actions runner images (which we use in the CODAL CI to test changes with a MakeCode build) currently use Docker v26, which needs a workaround to enable this image type, but it won't be long before they upgrade to v27 and things will stop working if there isn't a way to downgrade the docker version from the images.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.