Open eliassal opened 3 months ago
are you running this locally on your machine or in a github codespace?
It built up locally here fine for me locally. Are you able to update to the latest .NET SDK: https://dotnet.microsoft.com/en-us/download looks like you are on an older one.
Hi, I a running eberything locally. Dear @jamesmontemagno I have latest .Net SDK
I tried both dotnet docker and kubernetes, both have issues with the product image
8.0.300 is the latest sdk if you can try that.. https://dotnet.microsoft.com/en-us/download
Let me also ping @baronfel if he has any idea
My guess is a timing issue here - when you run dotnet publish
at the solution level you end up containerizing both projects at the same time. This means that each project is doing the following in parallel:
this second step involves downloading files from your container registry and storing them locally in your system, but if both projects use the same base image (probably dotnet/aspnet
?) this can lead to a race condition where only the first one finished downloading can successfully copy. My guess is that if you ran the publish again both would succeed because you would have already downloaded all the images. Does this match the behavior you see? We have an issue tracking fixing this at https://github.com/dotnet/sdk-container-builds/issues/344.
After following instructions up to step 2
dotnet publish /p:PublishProfile=DefaultContainer
Building the product image errored as follows
whereas store image was build correctly. Why is this and what is needed to be done? Thanks