mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
Add support building from path that contains space (#815)
This commit is contained in:
committed by
GitHub
parent
5892d52ed5
commit
aab6095073
@@ -7,4 +7,4 @@ echo -e "\n## Building Attachments"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/attachments $DIR/.
|
||||
docker build -t bitwarden/attachments "$DIR/."
|
||||
|
||||
@@ -7,4 +7,4 @@ echo -e "\n## Building MsSql"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/mssql $DIR/.
|
||||
docker build -t bitwarden/mssql "$DIR/."
|
||||
|
||||
@@ -7,4 +7,4 @@ echo -e "\n## Building Nginx"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/nginx $DIR/.
|
||||
docker build -t bitwarden/nginx "$DIR/."
|
||||
|
||||
@@ -8,12 +8,12 @@ echo -e "\n## Building Server"
|
||||
echo -e "\nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Server.csproj
|
||||
dotnet restore "$DIR/Server.csproj"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet clean "$DIR/Server.csproj" -c "Release" -o "$DIR/obj/Docker/publish"
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish "$DIR/Server.csproj" -c "Release" -o "$DIR/obj/Docker/publish"
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
docker build -t bitwarden/server $DIR/.
|
||||
docker build -t bitwarden/server "$DIR/."
|
||||
|
||||
@@ -8,12 +8,12 @@ echo -e "\n## Building Setup"
|
||||
echo -e "\nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $DIR/Setup.csproj
|
||||
dotnet restore "$DIR/Setup.csproj"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Setup.csproj -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 -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
|
||||
docker build -t bitwarden/setup $DIR/.
|
||||
docker build -t bitwarden/setup "$DIR/."
|
||||
|
||||
Reference in New Issue
Block a user