How to build arm64v8 docker image based on Ubuntu 18.04 amd64 OS by VS Code?
I try to build it by VS Code, but it can not excute RUN command in Dockerfile:
Step 2/11 : RUN mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=com.microsoft.azure.sdk.iot:iot-device-client:1.17.5 -DrepoUrl=https://repo.maven.apache.org/maven2/
---> [Warning] The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
---> Running in dbb1381f9c56
standard_init_linux.go:219: exec user process caused: exec format error
Thanks.