Cake build running inside a docker container to build ASP.NET Core Applications
1.1K
An example of using Cake build inside a docker container to build and test code, after which the published output (using multi-stage builds) is used to create a image with the application ready to go.
This image demonstrates:
https://github.com/jsacapdev/dotnet-cake-build/tree/master
./build.ps1 -Target Test
docker build --tag cake-in-docker . docker build --tag cake-in-docker -f Windows.Dockerfile .
docker run -d --rm -p 5000:80 cake-in-docker
Content type
Image
Digest
Size
125.8 MB
Last updated
over 8 years ago
docker pull jsacapdev/cake-in-docker