-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Certain plugins( such as https://github.com/31/GodotOnReady) might rely on the dotnet CLI being used to build the C# project. The current docker image is built on top of the mono:latest and does not include the .NET SDK and CLI tools.
The current workaround ( and potential solution) is to execute the following commands before building:
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
apt-get update -qq
apt-get install -y apt-transport-https
apt-get update -qq
apt-get install -y dotnet-sdk-6.0which seems to be all that is required for Godot to prefer using the dotnet commands when building. Running these commands in the existing Dockerfile should work out of the box.
Some other potential solutions are:
- Modify
mono.Dockerfileto usemcr.microsoft.com/dotnet/sdk:6.0or preferablymcr.microsoft.com/dotnet/sdk:6.0-alpine, which would be weird since the image is published asmonoand might break workflows - a new image is built:
godot-ci:dotnetwhich uses the above mentioned images, unfortunately this would add a third image to maintain
eumario, SommerEngineering, derkork, jolexxa, QuintillusCFC and 4 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working