Sign inSign up

jsacapdev/dotnet-cake-build

By jsacapdev

•Updated over 8 years ago

A docker image containing Cake build (Linux and Windows variant).

Image
0

1.6K

jsacapdev/dotnet-cake-build repository overview

⁠dotnet-cake-build

⁠Notes

A docker image containing Cake build. This image has a Linux and Windows variant. It has been designed with the intention of use during the build process, probably as a way to publish application output prior to being delivered to a production ready container (perhaps as part of a docker multi-stage build). It should not be used to host production applications.

This build image has its working folder (WORKDIR) set at /sln. The first thing you will probably want to do is to add your own build.cake file, you already have the cake dependencies under the /sln/tools sub-folder. If you continue to use the default moving forward the /sln directory is where you can start warming up cache layers or moving source code into the image. Then go ahead and copy your own build.cake i.e. COPY ./build.cake and do what you like.

The multi-stage build identifier is called builder.

⁠Build Status
Build SystemHostStatus
AppVeyorWindowsBuild status
Travis CILinuxBuild Status
DockerLinuxBuild Status
⁠Version/Tags
⁠latest

Contains .NET Core, Cake build. Only for internal development. Try and use the release versions below.

⁠linux-<VERSION>

Release Linux version. Contains .NET Core, Cake build.

⁠windows-<VERSION>

Release Windows version. Contains .NET Core, Cake build, .NET 4.0, 4.5.2, 4.6.2 and 4.7.1 targeting packs, VS build tools, VS Test Agent, NuGet.

⁠To build locally

docker build --tag dotnet-cake-build .

docker build --tag dotnet-cake-build -f Windows.Dockerfile .

⁠Credits

https://andrewlock.net/building-asp-net-core-apps-using-cake-in-docker/⁠

Tag summary

Content type

Image

Digest

Size

697.4 MB

Last updated

over 8 years ago

docker pull jsacapdev/dotnet-cake-build