Skip to content

Commit 65ebfbd

Browse files
authored
Pull dotnet image from MCR (Azure#70)
* Pull .net image from MCR * Bump version to 2.7.0
1 parent 88bec1a commit 65ebfbd

11 files changed

+21
-21
lines changed

Microsoft.Azure.IoT.Edge.Module.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Microsoft.Azure.IoT.Edge.Module</id>
5-
<version>2.6.0</version>
5+
<version>2.7.0</version>
66
<title>Azure IoT Edge Module</title>
77
<authors>Microsoft</authors>
88
<owners>microsoft, nugetazureiotedge</owners>

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

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

44
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
COPY . ./
88
RUN dotnet publish -c Release -o out
99

10-
FROM microsoft/dotnet:2.1-runtime-stretch-slim
10+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim
1111
WORKDIR /app
1212
COPY --from=build-env /app/out ./
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-runtime-stretch-slim AS base
1+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim AS base
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
88
USER moduleuser
99
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
1010

11-
FROM microsoft/dotnet:2.1-sdk AS build-env
11+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
1212
WORKDIR /app
1313

1414
COPY *.csproj ./

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,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-sdk AS build-env
1+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
22
WORKDIR /app
33

44
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
COPY . ./
88
RUN dotnet publish -c Release -o out
99

10-
FROM microsoft/dotnet:2.1-runtime-stretch-slim-arm32v7
10+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim-arm32v7
1111
WORKDIR /app
1212
COPY --from=build-env /app/out ./
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-runtime-stretch-slim-arm32v7 AS base
1+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim-arm32v7 AS base
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
88
USER moduleuser
99
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
1010

11-
FROM microsoft/dotnet:2.1-sdk AS build-env
11+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
1212
WORKDIR /app
1313

1414
COPY *.csproj ./
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-sdk AS build-env
1+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
22
WORKDIR /app
33

44
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
COPY . ./
88
RUN dotnet publish -c Release -o out
99

10-
FROM microsoft/dotnet:2.1-runtime-nanoserver-1809
10+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-nanoserver-1809
1111
WORKDIR /app
1212
COPY --from=build-env /app/out ./
1313
ENTRYPOINT ["dotnet", "SampleModule.dll"]

content/dotnet-template-azure-iot-edge-module/FSharp/Dockerfile.amd64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.0-sdk AS build-env
1+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
22
WORKDIR /app
33

44
COPY *.fsproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
COPY . ./
88
RUN dotnet publish -c Release -o out
99

10-
FROM microsoft/dotnet:2.0-runtime
10+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim
1111
WORKDIR /app
1212
COPY --from=build-env /app/out ./
1313

content/dotnet-template-azure-iot-edge-module/FSharp/Dockerfile.amd64.debug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.0-runtime-stretch AS base
1+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim AS base
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
88
USER moduleuser
99
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
1010

11-
FROM microsoft/dotnet:2.0-sdk AS build-env
11+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
1212
WORKDIR /app
1313

1414
COPY *.fsproj ./

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

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

44
COPY *.fsproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
COPY . ./
88
RUN dotnet publish -c Release -o out
99

10-
FROM microsoft/dotnet:2.1-runtime-stretch-slim-arm32v7
10+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim-arm32v7
1111
WORKDIR /app
1212
COPY --from=build-env /app/out ./
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-runtime-stretch-slim-arm32v7 AS base
1+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim-arm32v7 AS base
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
88
USER moduleuser
99
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
1010

11-
FROM microsoft/dotnet:2.1-sdk AS build-env
11+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
1212
WORKDIR /app
1313

1414
COPY *.fsproj ./

0 commit comments

Comments
 (0)