Deleted the docker-compose.ci.build.yml file as we don't need it anymore since we're using DOCKER MULTI-STAGE BUILDS.
This commit is contained in:
Родитель
19936607e2
Коммит
c38d576e86
|
@ -1,19 +0,0 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
ci-build:
|
||||
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
|
||||
volumes:
|
||||
- .:/src
|
||||
- ./cli-linux:/cli-linux
|
||||
working_dir: /src
|
||||
|
||||
|
||||
# Next line is using the .sln file to compile all the projects.
|
||||
# Sometime there is an issue in msbuild exits the process before finishing building the bits: (https://github.com/Microsoft/msbuild/issues/2153)
|
||||
# Random error: error MSB4017: The build stopped unexpectedly be cause of an unexpected logger failure.
|
||||
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
|
||||
|
||||
# NOTE: Using build-bits-linux.sh from Linux build container exits before ending.
|
||||
#command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
|
||||
|
|
@ -11,7 +11,6 @@
|
|||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include=".dockerignore" />
|
||||
<None Include="docker-compose.ci.build.yml" />
|
||||
<None Include="docker-compose.override.yml">
|
||||
<DependentUpon>docker-compose.yml</DependentUpon>
|
||||
</None>
|
||||
|
|
Загрузка…
Ссылка в новой задаче