|
|
@ -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 \
|
|
|
|