mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +01:00
no longer need to provide netcoreapp flag
This commit is contained in:
parent
66e03aee1b
commit
fb2ee6aaea
@ -40,8 +40,8 @@ The core infrastructure is written in C# using .NET Core with ASP.NET Core. The
|
||||
```
|
||||
cd src/Api
|
||||
dotnet restore
|
||||
dotnet build -f netcoreapp2.1
|
||||
dotnet run -f netcoreapp2.1
|
||||
dotnet build
|
||||
dotnet run
|
||||
```
|
||||
|
||||
visit http://localhost:5000/alive
|
||||
@ -51,8 +51,8 @@ visit http://localhost:5000/alive
|
||||
```
|
||||
cd src/Identity
|
||||
dotnet restore
|
||||
dotnet build -f netcoreapp2.1
|
||||
dotnet run -f netcoreapp2.1
|
||||
dotnet build
|
||||
dotnet run
|
||||
```
|
||||
|
||||
visit http://localhost:33657/.well-known/openid-configuration
|
||||
|
@ -10,12 +10,12 @@ echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Admin.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Admin.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet clean $DIR/Admin.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Node Build"
|
||||
npm --prefix $DIR install $DIR
|
||||
gulp --gulpfile $DIR/gulpfile.js build
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Admin.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Admin.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -11,11 +11,11 @@ echo "Restore"
|
||||
dotnet restore $DIR/Api.csproj
|
||||
dotnet restore $DIR/../Jobs/Jobs.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Api.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet clean $DIR/../Jobs/Jobs.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
dotnet clean $DIR/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet clean $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Api.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
dotnet publish $DIR/Api.csproj -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet publish $DIR/../Jobs/Jobs.csproj -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Icons.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Icons.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet clean $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Icons.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Identity.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Identity.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet clean $DIR/Identity.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Identity.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Identity.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
@ -10,9 +10,9 @@ echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Setup.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Setup.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet clean $DIR/Setup.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Setup.csproj -f netcoreapp2.1 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Setup.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
Loading…
Reference in New Issue
Block a user