Skip to content

Conversation

oncybersec
Copy link

When building a Docker image using docker build -t dotnet-script -f Dockerfile .., the below error is encountered indicating that dotnet-script 1.6.0 is not compatible with .NET 7.0:

Screenshot 2025-04-29 161757

This can be addressed by setting the .NET SDK version to 9.0 in the Dockerfile.

@filipw filipw enabled auto-merge April 29, 2025 18:14
@filipw
Copy link
Member

filipw commented Apr 29, 2025

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants