microsoft / microsoft/vscode-azurecontainerapps
ACR build fails if the `--platform` flag is included in the Dockerfile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 42
- Forks
- 21
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 2
Description
OS: All
Build Version: 20231030.6
Repro Steps:
- Create a .NET MVC project by command
dotnet new mvc-> Open it in VS Code and add docker support files.
mvc.zip - Right click a container app environment -> Click "Create Container App..." -> Enter a name -> Select "Build from project remotely using Azure Container Registry" -> Select an azure container registry ->
Select "+ Create new Azure Container Registry" -> Enter a name -> Select a SKU -> Select "Dockerfile" -> Enter -> Select "Linux" -> Skip for now -> Enable -> Select a HTTP traffic -> Enter. - Check whether succeeds to create a container app or not.
Expect:
Succeed to create a container app with the .NET MVC project.
Actual:
Fail to create a container app with the .NET MVC project.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the attached mvc.zip project, a Dockerfile containing the --platform flag, and the VS Code "Create Container App" flow using a new Azure Container Registry. Trace the extension's remote Dockerfile build entry point and compare the request with a Dockerfile without that flag. Done means the .NET MVC project creates the container app successfully while retaining the --platform flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, docker, typescript, vscode
- Domain
- build-system, cloud, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100