Azure / Azure/azure-functions-powershell-worker
Dev container does not work out of box
- Dominant language
- C#
- Stars
- 215
- Forks
- 61
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 6
Description
Create a codespace
run build.ps1
See error complaining about dotnet SDK 6.0
`dotnet --list-sdks` will show a 3.x version
It looks like the wrong base image is being specified. We seem to be using a V3 version
https://github.com/Azure/azure-functions-powershell-worker/blob/5b2eaf5816f1b851d9b6d695ac987c1e2d812091/.devcontainer/Dockerfile#L6
I haven't tried it, but I suspect moving to mcr.microsoft.com/azure-functions/powershell:4-powershell7.2-core-tools would be the thing to have for a default now.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with .devcontainer/Dockerfile at the linked line and inspect the base image used by the dev container. Reproduce in a codespace with build.ps1 and check dotnet --list-sdks; done means the container provides the required .NET SDK 6.0 and the build completes without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, docker, powershell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100