File tree Expand file tree Collapse file tree 11 files changed +21
-21
lines changed
content/dotnet-template-azure-iot-edge-module Expand file tree Collapse file tree 11 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 2
2
<package >
3
3
<metadata >
4
4
<id >Microsoft.Azure.IoT.Edge.Module</id >
5
- <version >2.6 .0</version >
5
+ <version >2.7 .0</version >
6
6
<title >Azure IoT Edge Module</title >
7
7
<authors >Microsoft</authors >
8
8
<owners >microsoft, nugetazureiotedge</owners >
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.1-sdk AS build-env
1
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
2
2
WORKDIR /app
3
3
4
4
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
7
7
COPY . ./
8
8
RUN dotnet publish -c Release -o out
9
9
10
- FROM microsoft/dotnet:2.1-runtime -stretch-slim
10
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1-stretch-slim
11
11
WORKDIR /app
12
12
COPY --from=build-env /app/out ./
13
13
Original file line number Diff line number Diff line change 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
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
8
8
USER moduleuser
9
9
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
10
10
11
- FROM microsoft/dotnet:2.1-sdk AS build-env
11
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
12
12
WORKDIR /app
13
13
14
14
COPY *.csproj ./
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.1-sdk AS build-env
1
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
2
2
WORKDIR /app
3
3
4
4
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
7
7
COPY . ./
8
8
RUN dotnet publish -c Release -o out
9
9
10
- FROM microsoft/dotnet:2.1-runtime -stretch-slim-arm32v7
10
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1-stretch-slim-arm32v7
11
11
WORKDIR /app
12
12
COPY --from=build-env /app/out ./
13
13
Original file line number Diff line number Diff line change 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
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
8
8
USER moduleuser
9
9
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
10
10
11
- FROM microsoft/dotnet:2.1-sdk AS build-env
11
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
12
12
WORKDIR /app
13
13
14
14
COPY *.csproj ./
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.1-sdk AS build-env
1
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
2
2
WORKDIR /app
3
3
4
4
COPY *.csproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
7
7
COPY . ./
8
8
RUN dotnet publish -c Release -o out
9
9
10
- FROM microsoft/dotnet:2.1-runtime -nanoserver-1809
10
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1-nanoserver-1809
11
11
WORKDIR /app
12
12
COPY --from=build-env /app/out ./
13
13
ENTRYPOINT ["dotnet", "SampleModule.dll"]
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.0-sdk AS build-env
1
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
2
2
WORKDIR /app
3
3
4
4
COPY *.fsproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
7
7
COPY . ./
8
8
RUN dotnet publish -c Release -o out
9
9
10
- FROM microsoft/dotnet:2.0-runtime
10
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1-stretch-slim
11
11
WORKDIR /app
12
12
COPY --from=build-env /app/out ./
13
13
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.0-runtime- stretch AS base
1
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1- stretch-slim AS base
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
8
8
USER moduleuser
9
9
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
10
10
11
- FROM microsoft/dotnet:2.0-sdk AS build-env
11
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
12
12
WORKDIR /app
13
13
14
14
COPY *.fsproj ./
Original file line number Diff line number Diff line change 1
- FROM microsoft/dotnet:2.1-sdk AS build-env
1
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
2
2
WORKDIR /app
3
3
4
4
COPY *.fsproj ./
@@ -7,7 +7,7 @@ RUN dotnet restore
7
7
COPY . ./
8
8
RUN dotnet publish -c Release -o out
9
9
10
- FROM microsoft/dotnet:2.1-runtime -stretch-slim-arm32v7
10
+ FROM mcr. microsoft.com /dotnet/core/runtime :2.1-stretch-slim-arm32v7
11
11
WORKDIR /app
12
12
COPY --from=build-env /app/out ./
13
13
Original file line number Diff line number Diff line change 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
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends unzip procps && \
@@ -8,7 +8,7 @@ RUN useradd -ms /bin/bash moduleuser
8
8
USER moduleuser
9
9
RUN curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
10
10
11
- FROM microsoft/dotnet:2.1-sdk AS build-env
11
+ FROM mcr. microsoft.com /dotnet/core/sdk :2.1 AS build-env
12
12
WORKDIR /app
13
13
14
14
COPY *.fsproj ./
You can’t perform that action at this time.
0 commit comments