https://github.com/devlead/testcakedocker
An example of building .NET Core projects using Cake within a docker container
https://github.com/devlead/testcakedocker
Last synced: 10 months ago
JSON representation
An example of building .NET Core projects using Cake within a docker container
- Host: GitHub
- URL: https://github.com/devlead/testcakedocker
- Owner: devlead
- License: mit
- Created: 2018-03-11T07:31:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-11T08:00:58.000Z (about 8 years ago)
- Last Synced: 2025-04-19T10:57:13.303Z (12 months ago)
- Language: C#
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
./run.sh
```
### Windows
```batch
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.
```bash
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
```
