Skip to content

Commit b405246

Browse files
committed
build arm32 on amd64 container
1 parent 0fa4cda commit b405246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/dotnet-template-azure-iot-edge-module/CSharp/Dockerfile.arm32v7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim-arm32v7 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
22
WORKDIR /app
33

44
COPY *.csproj ./
5-
RUN dotnet restore
5+
RUN dotnet restore -r linux-arm
66

77
COPY . ./
88
RUN dotnet publish -c Release -o out

0 commit comments

Comments
 (0)