Skip to content

Commit

Permalink
Use sdk 7.0 in dockerfile
Browse files Browse the repository at this point in the history
Provides support language version 11 features
  • Loading branch information
wkirschenmann committed Aug 23, 2023
1 parent d6edac0 commit 26cf28d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG WORKER_DLL_IMAGE=dockerhubaneo/armonik_worker_dll:0.12.2-SNAPSHOT.6.53d5bb3
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY . .


WORKDIR "/src/Tests/ArmoniK.EndToEndTests/ArmoniK.EndToEndTests.Worker"

RUN dotnet publish --self-contained -c Release -r linux-x64 -f net6.0 .
RUN dotnet publish --self-contained -c Release -r linux-x64 -f net6.0 -p:RunAnalyzers=false -p:WarningLevel=0 .


FROM ${WORKER_DLL_IMAGE} AS final
Expand Down

0 comments on commit 26cf28d

Please sign in to comment.