Browse Source

update to dotnet core 2.2 sdk (#4765)

* update beetlex 1.4.3

update beetlex 1.4.3

* Update beetlex.dockerfile

using dotnet 2.2 sdk
Henry 6 years ago
parent
commit
6c0d3efaf3
1 changed files with 4 additions and 2 deletions
  1. 4 2
      frameworks/CSharp/beetlex/beetlex.dockerfile

+ 4 - 2
frameworks/CSharp/beetlex/beetlex.dockerfile

@@ -1,7 +1,9 @@
-FROM microsoft/dotnet:2.1-sdk-stretch AS build
+FROM microsoft/dotnet:2.2-sdk AS build
 WORKDIR /app
 COPY Benchmarks .
 RUN dotnet publish -c Release -o out
 
-WORKDIR /app/out
+FROM microsoft/dotnet:2.2-aspnetcore-runtime AS runtime
+WORKDIR /app
+COPY --from=build /app/out ./
 ENTRYPOINT ["dotnet", "Benchmarks.dll"]