Skip to content

Commit 338d911

Browse files
Updated the docker-compose.ci.build.yml to use the latest ASPNETCORE BUILD/SDK Image (2.0.2) and just 'dot net publish' against the whole .sln
1 parent dbc80a3 commit 338d911

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker-compose.ci.build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22

33
services:
44
ci-build:
5-
image: microsoft/aspnetcore-build:2.0
5+
image: microsoft/aspnetcore-build:2.0.2 #Depending on the bug below, you can also try this other SDK image: microsoft/aspnetcore-build:1.0-2.0-2017-10 or microsoft/aspnetcore-build:1.0-2.0
66
volumes:
77
- .:/src
88
- ./cli-linux:/cli-linux
@@ -11,8 +11,8 @@ services:
1111
# Next line is using the .sln file to compile all the projects.
1212
# Sometime there is an issue in msbuild exits the process before finishing building the bits: (https://github.com/Microsoft/msbuild/issues/2153)
1313
# Random error: error MSB4017: The build stopped unexpectedly be cause of an unexpected logger failure.
14-
#command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln --verbosity minimal && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish --verbosity minimal"
14+
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
1515

1616
# NOTE: Using build-bits-linux.sh from Linux build container exits before ending.
17-
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
17+
#command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
1818

0 commit comments

Comments
 (0)