1

Im using this example to develop & understand iot edge modules. Im using ubuntu OS. At the end if the target architecture is amd64 when i click on deployment.templete.json and click on build and push iotedge solution its working perfectly. But if change my target architecture to arm32 and do the same getting this error(image). enter image description here

after trying @SatishBoddu-MSFT answer that above issue got resolved. this is the new error(img) during the build.How do i resolve this. enter image description here

Ein2012
  • 1,103
  • 1
  • 13
  • 33

1 Answers1

1

Please check Dockerfile.arm32v7 file and update the image version to as shown below, the pattern can be seen here in this Doc link.

Please try as shown below and let us know if you need further help.

FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env

OR

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build-env

enter image description here

Please refer to Linux arm32 Tags.

Also see the similar GitHub issue which gives the more info.

SatishBoddu
  • 752
  • 6
  • 13
  • hi ur solution resolved the issue. but i ran into another issue which i updated in the question. can u pls chk that – Ein2012 May 27 '20 at 07:25
  • Could you please confirm your host machine architecture, OS ?, Docker Container running Windows or Linux?. I am using Win 10 Pro(x64)-Docker Linux Containers. – SatishBoddu May 27 '20 at 19:27
  • i'm running ubuntu inside VMware on my pc which is having windows 10pro(x64) – Ein2012 May 28 '20 at 04:11
  • Could you please try on your windows 10pro(x64) pc, with Docker installed with Linux Containers running, as part of troubleshooting. – SatishBoddu May 28 '20 at 14:43