1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

nodocker flag for build scripts

This commit is contained in:
Kyle Spearrin 2019-08-27 15:52:04 -04:00
parent d0abd413ba
commit 9c90358aa1
2 changed files with 12 additions and 6 deletions

View File

@ -14,6 +14,9 @@ dotnet clean $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Publish" echo "Publish"
dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
if [ "$1" != "nodocker" ]
then
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version
docker build -t bitwarden/icons $DIR/. docker build -t bitwarden/icons $DIR/.
fi

View File

@ -14,6 +14,9 @@ dotnet clean $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish
echo "Publish" echo "Publish"
dotnet publish $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish dotnet publish $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish
if [ "$1" != "nodocker" ]
then
echo -e "\nBuilding docker image" echo -e "\nBuilding docker image"
docker --version docker --version
docker build -t bitwarden/notifications $DIR/. docker build -t bitwarden/notifications $DIR/.
fi