Codespace failing

Kid Kai 45 Reputation points
2024-04-26T09:34:07.07+00:00

https://learn.microsoft.com/en-us/training/modules/create-a-build-pipeline/3-build-locally?pivots=github-codespaces-agent

I am following this tutorial I try to create the codespace of https://github.com/MicrosoftDocs/mslearn-tailspin-spacegame-web
after taking the fork

But I keep getting

image

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
947 questions
{count} votes

Accepted answer
  1. RDash 1,245 Reputation points Microsoft Vendor
    2024-05-02T14:58:34.22+00:00

    Hi Kid Kai,

    From your question we understand that you were unable to complete the exercise by following the steps mentioned in the Unit. As you were unable to build the Codespace because of this error in Dockerfile:

    “FROM mcr.microsoft.com/devcontainers/dotnet:6.0”

    We have tried and found the same error. Later we changed the dockerfile in “FROM” instruction to “FROM mcr.microsoft.com/devcontainers/dotnet:6.0-bullseye” as per the reference file shared by you and we were able to successfully build the Codespace as shown:

    User's image

    If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful