microsoft / microsoft/pxt-microbit

`pext/yotta:latest` image type has been deprecated and stopped working with latest docker

Open
#5,721 11 comments 0 reactions 1 assignee View on GitHub

@riknoll is already working on this.

Since Jul 10, 2024.

codecleanup MEF 2026 MEF-medium
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/

https://github.com/microsoft/pxt-microbit/blob/bd4bda19f33ba30ea61e3620c8fa069b8306d07e/pxtarget.json#L204-L207

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.