From ffeabf8f655dbf548e0f2e9ee5e9f8272f7d1d8a Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Wed, 15 Feb 2017 10:44:59 -0500 Subject: [PATCH] update build-images for Mac Until adding these, the project would not build correctly on a Mac. --- build-images.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 build-images.sh diff --git a/build-images.sh b/build-images.sh old mode 100644 new mode 100755 index 4e86be0e9..9f4cc354c --- a/build-images.sh +++ b/build-images.sh @@ -1,12 +1,16 @@ #!/bin/sh -#dotnet restore +dotnet restore rm -rf ./pub dotnet publish "$(pwd)/src/Web/WebMVC/project.json" -o "$(pwd)/pub/webMVC" dotnet publish "$(pwd)/src/Services/Catalog/Catalog.API/project.json" -o "$(pwd)/pub/catalog" dotnet publish "$(pwd)/src/Services/Ordering/Ordering.API/project.json" -o "$(pwd)/pub/ordering" dotnet publish "$(pwd)/src/Services/Basket/Basket.API/project.json" -o "$(pwd)/pub/basket" +dotnet publish "$(pwd)/src/Services/Identity/Identity.API/project.json" -o "$(pwd)/pub/identity" +dotnet publish "$(pwd)/src/Web/WebSPA/eShopOnContainers.WebSPA/project.json" -o "$(pwd)/pub/WebSPA" docker build -t eshop/web "$(pwd)/pub/webMVC" docker build -t eshop/catalog.api "$(pwd)/pub/catalog" docker build -t eshop/ordering.api "$(pwd)/pub/ordering" -docker build -t eshop/basket.api "$(pwd)/pub/basket" \ No newline at end of file +docker build -t eshop/basket.api "$(pwd)/pub/basket" +docker build -t eshop/identity "$(pwd)/pub/identity" +docker build -t eshop/webspa "$(pwd)/pub/WebSPA"