2017-06-20 09:15:41 -07:00
|
|
|
version: '3'
|
2017-02-14 18:11:51 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
ci-build:
|
2017-05-25 17:01:10 -07:00
|
|
|
image: microsoft/aspnetcore-build:1.1.2
|
2017-02-14 18:11:51 +01:00
|
|
|
volumes:
|
|
|
|
- .:/src
|
2017-06-21 12:38:21 +02:00
|
|
|
- ./cli-linux:/cli-linux
|
2017-02-14 18:11:51 +01:00
|
|
|
working_dir: /src
|
2017-06-21 12:38:21 +02:00
|
|
|
# DO NOT USE the sln file to compile because msbuild issue (https://github.com/Microsoft/msbuild/issues/2153)
|
|
|
|
# command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
|
|
|
|
# NOTE: Using build-bits-linux.sh triggers the same MSBUILD error :( (but at least, less frequently)
|
|
|
|
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
|
2017-05-06 23:28:38 -07:00
|
|
|
|