|
@@ -1,4 +1,4 @@
|
|
-FROM microsoft/dotnet:2.2-sdk AS build
|
|
|
|
|
|
+FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build
|
|
RUN echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main" | tee /etc/apt/sources.list.d/llvm.list
|
|
RUN echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main" | tee /etc/apt/sources.list.d/llvm.list
|
|
RUN wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
|
|
RUN wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
|
|
RUN apt-get update
|
|
RUN apt-get update
|
|
@@ -7,7 +7,7 @@ WORKDIR /app
|
|
COPY PlatformBenchmarks .
|
|
COPY PlatformBenchmarks .
|
|
RUN dotnet publish -c Release -o out -r linux-x64
|
|
RUN dotnet publish -c Release -o out -r linux-x64
|
|
|
|
|
|
-FROM microsoft/dotnet:2.2-aspnetcore-runtime AS runtime
|
|
|
|
|
|
+FROM mcr.microsoft.com/dotnet/core/aspnet:2.2 AS runtime
|
|
WORKDIR /app
|
|
WORKDIR /app
|
|
COPY --from=build /app/out ./
|
|
COPY --from=build /app/out ./
|
|
|
|
|