Closed anandchugh closed 2 years ago
I'm having the same problem trying to build an arm64v8 image on ubuntu using the command: iotedgedev build --file deployment.template.json --platform arm64v8 I keep having the message: [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested I've also tried adding "buildOptions": ["--platform linux/arm64/v8"] to my module.json but it doesn't change anything.
Thank you for the report. We have added this to our backlog for further investigation
@anandchugh - In Iotedgedev, we use the docker client API to produce an image. The API is behaving differently than the docker cli build command, please see issue 2957. In VSCode, we use docker cli command, hence the difference in behavior.
@MrVhek - You are reporting an unrelated issue. Please feel free to file a separate report. Include information about the platform used, version of Ubuntu, etc.
Closing this issue due to inactivity.
Steps to Reproduce:
iotedgedev build -f ./deployment.template.json -P arm64v8