Description:
During azd deploy for AgentWithHostedMCP, AgentWithTextSearchRag, AgentsInWorkflows, the Docker build fails with the following error:


Steps to Reproduce:
- Initialize the project:
azd init --template Azure-Samples/ai-foundry-starter-basic.
- Initialize AI agent:
azd ai agent init -m https://github.com/microsoft/agent-framework/blob/main/dotnet/samples/HostedAgents/AgentWithHostedMCP/agent.yaml
- Run
azd up.
Environment:
Expected Behavior:
The azd deploy command runs successfully.
@JeffreyCA and @rajeshkamal5050 for notification.