2
0
Эх сурвалжийг харах

Merge pull request #677 from nvllsvm/fixdocker

Fix arm32 Docker
Andrew Rabert 6 жил өмнө
parent
commit
e05e002b8b
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      Dockerfile.arm

+ 1 - 0
Dockerfile.arm

@@ -6,6 +6,7 @@ WORKDIR /repo
 COPY . .
 COPY . .
 #TODO Remove or update the sed line when we update dotnet version.
 #TODO Remove or update the sed line when we update dotnet version.
 RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
 RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
+ && find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \; \
  && dotnet clean -maxcpucount:1 \
  && dotnet clean -maxcpucount:1 \
  && dotnet publish \
  && dotnet publish \
     -maxcpucount:1 \
     -maxcpucount:1 \