Merge pull request #677 from nvllsvm/fixdocker

Fix arm32 Docker
This commit is contained in:
Andrew Rabert 2019-01-22 20:11:30 -05:00 committed by GitHub
commit e05e002b8b

View File

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