You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Follow the Getting Started instructions from the Template page. azd init -t azure-search-openai-demo-csharp, azd auth login, both succeed.
On the azd up step, I get the following error: ERROR: failed building service 'web': building container: web at ../: building image: exit code: 1, stdout: , stderr: image ID file cannot be specified when building for multiple platforms
Try running azd package web instead and get the same error.
Run azd package function to confirm that's fine (it is).
Any log messages given by the failure
Using azd package web --debug *>packagelog.log I get this log. The failing command looks to be docker build -f ../Dockerfile --platform linux/amd64 -t azure-search-openai-demo-csharp-web ../ --iidfile C:\Users\REDAC-~1\AppData\Local\Temp\azd-docker-build2422385450\imgId
If I run docker build -f ../Dockerfile -t azure-search-openai-demo-csharp-web ../ --iidfile somefile
from the app/backend folder (ie take off the --platform and change the iidfile to somewhere that exists), that command seems to build without errors.
I'm not familiar with Docker or Bicep or the like, can't find anywhere obvious to change that, and probably shouldn't without knowing what it's even doing.
This seems to be resolved now after a reinstall.
Specifically, I updated to the now latest version then tried azd up and it then said Docker wasn't even installed.
So I uninstalled and reinstalled the older version, and now I'm getting past the above issue. Progress!
Granted now I'm instead getting an error when it deploys the OpenAI resource I think, `The specified SKU 'Standard' for model 'gpt-4o-mini 2024-07-18' is not supported in this region 'uksouth', but that's hopefully just a me issue.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
azd init -t azure-search-openai-demo-csharp
,azd auth login
, both succeed.azd up
step, I get the following error:ERROR: failed building service 'web': building container: web at ../: building image: exit code: 1, stdout: , stderr: image ID file cannot be specified when building for multiple platforms
azd package web
instead and get the same error.azd package function
to confirm that's fine (it is).Any log messages given by the failure
Expected/desired behavior
Have the command succeed
OS and Version?
Windows 10
Docker Desktop 4.36.0 (175267)
The text was updated successfully, but these errors were encountered: