with container apps, you control what is installed in the image.
azure web apps now support .net 9.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
After the migration from .NET 8 to .NET 9 deployment is failing. I'm using direct deployment from Github without Docker.
Is it possible to use .NET 9 in the Container Apps?
with container apps, you control what is installed in the image.
azure web apps now support .net 9.
you are using a GitHub action to deploy a docker container image to azure container registry . but the container build, which is totally unrelated to the container hosting environment is failing.
you are pulling a base image that support python and node js. as both these platform run source code directly, no additional build step is required, just copy source to container and deploy to registry.
but you are trying to deploy a .net 9 application. this means you need a complied source, and a container that has asp.net runtime support to copy to. say:
mcr.microsoft.com/dotnet/aspnet:9.0
if you don't have a compiled source, then you use multiple containers. a build container with the sdk like:
https://hub.docker.com/r/microsoft/dotnet-sdk
see build a docker container:
then in the yaml file specify the dockerfilePath to do the build: