Skip to content

An example of building .NET Core projects using Cake within a docker container

License

Notifications You must be signed in to change notification settings

devlead/TestCakeDocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake docker example

This is an example repository of building a .NET Core project using a container with Cake and .NET Core SDK pre-installed. Which means the host doesn't need to have neither Cake or .NET Core installed to be able to execute script and build project.

Usage

MacOS / Linux

./run.sh

Windows

run.cmd

Cake Pre-Installed

So what does Cake pre-installed mean? It means the Cake tool is in the container image and available in path, so you could use it either as part of your own custom image or by using docker run.

docker run --rm -it cakebuild/cake:2.1-sdk bash
root@9740ebceba08:/# git clone https://github.com/devlead/TestCakeDocker.git
root@9740ebceba08:/# cd TestCakeDocker/src
root@9740ebceba08:/TestCakeDocker/src# Cake

Build Example With Cake

About

An example of building .NET Core projects using Cake within a docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published