Dotnet container build for ROS

Greetings!

Anyone succeeded to build a .NET container from Visual studio for future use in ROS? I’ve tried both creating a project with default Dockerfile which uses mcr.microsoft.com/dotnet/runtime:10.0 base image and then

docker save -o dotnet.tar

- leads to “missing config in manifest” error during import. Also tried

dotnet publish /t:PublishContainer -r linux-x64 -p ContainerImageTag=latest -p ContainerArchiveOutputPath=./router-app.tar - leads to “*** error getting layer file”.

ROS v7.22rc1 CHR instance.

Try running it through skopeo.

Skopeo did the trick, thanks a lot, the app is running from default .NET Dockerfile