Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 6c5bdda

Browse files
committed
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
1 parent e85ce83 commit 6c5bdda

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

cli-linux/build-bits-linux.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ do
3030
echo -e "\e[33m\tRemoving old publish output"
3131
pushd $path/$project
3232
rm -rf obj/Docker/publish
33-
echo -e "\e[33m\tRestoring project $project"
34-
dotnet restore --verbosity minimal
3533
echo -e "\e[33m\tBuilding and publishing $project"
36-
dotnet publish -c Release -o obj/Docker/publish --verbosity minimal
34+
dotnet publish -c Release -o obj/Docker/publish --verbosity quiet
3735
popd
3836
done
3937

src/Services/Identity/Identity.API/Startup.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using Identity.API.Certificate;
1+
using Autofac;
2+
using Autofac.Extensions.DependencyInjection;
3+
using Identity.API.Certificate;
24
using Identity.API.Configuration;
35
using Identity.API.Data;
46
using Identity.API.Models;
@@ -16,9 +18,6 @@
1618
using Microsoft.Extensions.Configuration;
1719
using Microsoft.Extensions.DependencyInjection;
1820
using Microsoft.Extensions.HealthChecks;
19-
using Identity.API.Certificate;
20-
using Autofac.Extensions.DependencyInjection;
21-
using Autofac;
2221
using Microsoft.Extensions.Logging;
2322
using System;
2423
using System.Collections.Generic;

0 commit comments

Comments
 (0)