You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
758 B

  1. version: '3'
  2. services:
  3. ci-build:
  4. image: microsoft/aspnetcore-build:1.1.2
  5. volumes:
  6. - .:/src
  7. - ./cli-linux:/cli-linux
  8. working_dir: /src
  9. # DO NOT USE the sln file to compile because msbuild issue (https://github.com/Microsoft/msbuild/issues/2153)
  10. # 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"
  11. # NOTE: Using build-bits-linux.sh triggers the same MSBUILD error :( (but at least, less frequently)
  12. command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"