Move away from 2.1.10 to 2.1
This commit is contained in:
Родитель
786c9743d5
Коммит
edf5b25e2e
|
@ -4,7 +4,7 @@ COPY . ./
|
|||
RUN dotnet restore \src\IoTModules\c#\publisher\Publisher.csproj
|
||||
RUN dotnet publish \src\IoTModules\c#\publisher\Publisher.csproj -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1.10-nanoserver-1809
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-nanoserver-1809
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /src/IoTModules/c#/publisher/out/ .
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG base_tag=2.1.10-alpine3.7
|
||||
ARG base_tag=2.1-alpine3.7
|
||||
|
||||
FROM microsoft/dotnet:2.1-sdk AS build-env
|
||||
WORKDIR /src
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ARG base_tag=2.1.10-bionic-arm32v7
|
||||
ARG base_tag=2.1-bionic-arm32v7
|
||||
FROM microsoft/dotnet:2.1-sdk AS build-env
|
||||
WORKDIR /src
|
||||
COPY . ./
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY . ./
|
|||
RUN dotnet restore \src\IoTModules\c#\subscriber\Subscriber.csproj
|
||||
RUN dotnet publish \src\IoTModules\c#\subscriber\Subscriber.csproj -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1.10-nanoserver-1809
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1-nanoserver-1809
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /src/IoTModules/c#/subscriber/out/ .
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY . ./
|
|||
RUN dotnet restore \src\QuickStart\c#\publisher\publisher.csproj
|
||||
RUN dotnet publish \src\QuickStart\c#\publisher\publisher.csproj -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1.10-nanoserver-1809
|
||||
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-nanoserver-1809
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /src/QuickStart/c#/publisher/out/ .
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче