Improve build-bits-linux.sh (removed dotnet restore (doing with publish now) and set quiet on verbosity in order to reduce issues with System.Console.dll on build container). Remove unnecesary namespace on Identity.Api startup.cs
This commit is contained in:
parent
e85ce8332c
commit
6c5bdda2f5
@ -30,10 +30,8 @@ do
|
||||
echo -e "\e[33m\tRemoving old publish output"
|
||||
pushd $path/$project
|
||||
rm -rf obj/Docker/publish
|
||||
echo -e "\e[33m\tRestoring project $project"
|
||||
dotnet restore --verbosity minimal
|
||||
echo -e "\e[33m\tBuilding and publishing $project"
|
||||
dotnet publish -c Release -o obj/Docker/publish --verbosity minimal
|
||||
dotnet publish -c Release -o obj/Docker/publish --verbosity quiet
|
||||
popd
|
||||
done
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
using Identity.API.Certificate;
|
||||
using Autofac;
|
||||
using Autofac.Extensions.DependencyInjection;
|
||||
using Identity.API.Certificate;
|
||||
using Identity.API.Configuration;
|
||||
using Identity.API.Data;
|
||||
using Identity.API.Models;
|
||||
@ -16,9 +18,6 @@ using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.HealthChecks;
|
||||
using Identity.API.Certificate;
|
||||
using Autofac.Extensions.DependencyInjection;
|
||||
using Autofac;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
Loading…
x
Reference in New Issue
Block a user