Replies: 2 comments 1 reply
-
The version of Debian the .NET images are based on changed between releases. You can see that in the tags listing. Your Dockerfile is registering the Debian/11 package.microsoft.com feed in the .NET 8.0 image if all you are doing is changing from the .NET 7.0 to and 8.0 base image. Update the debian feed registration and give it a try. |
Beta Was this translation helpful? Give feedback.
-
Thanks @MichaelSimons I tried with Debian/12 but doesn't work:
Error: |
Beta Was this translation helpful? Give feedback.
-
Describe the Bug
I am trying to move to .net 8 from .net 7 but I can't install the sqlcmd package in the image.
I am not sure if a bug or what is happening here.
Dockerfile to reproduce the issue:
Error:
ERROR: failed to solve: process "/bin/sh -c apt-get install sqlcmd -y" did not complete successfully: exit code: 100
If you change the line FROM mcr.microsoft.com/dotnet/aspnet:8.0 and use FROM mcr.microsoft.com/dotnet/aspnet:7.0 all works fine.
Beta Was this translation helpful? Give feedback.
All reactions