|
| 1 | +# DotMH Dev Container - C# |
| 2 | + |
| 3 | +A Devcontainer for use with C# development, optionally with tools for working with AWS |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | +- [Rocky Linux](https://rockylinux.org/) |
| 11 | +- [Ubuntu](https://ubuntu.com/) |
| 12 | + |
| 13 | +## Tools |
| 14 | + |
| 15 | +- [ZSH](https://www.zsh.org/) (Set as default Shell) |
| 16 | +- [OhMyZSH](https://ohmyz.sh/) |
| 17 | +- [BAT](https://github.com/sharkdp/bat) - A better Cat command |
| 18 | +- [EZA](https://github.com/eza-community/eza) - A better ls command |
| 19 | +- [Just](https://github.com/casey/just) - An awesome task runner |
| 20 | +- [.net](https://dotnet.microsoft.com/en-us/download) - The dotnet CLI Toolchain |
| 21 | + |
| 22 | +### When Using Cloud containers as the base |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) |
| 29 | +- [Digital Ocean CLI](https://docs.digitalocean.com/reference/doctl/) |
| 30 | +- [Terraform](https://www.terraform.io/) |
| 31 | + |
| 32 | +## Visual Studio Extentions |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +When using this devcontainer under [Visual Studio Code (vscode)](https://code.visualstudio.com/) with the |
| 37 | +[Devcontainer Extention](https://containers.dev/supporting#visual-studio-code), vscode will automatically install |
| 38 | +the following extentions |
| 39 | + |
| 40 | +- [A Spellchecker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) |
| 41 | +- [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) |
| 42 | +- [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp) |
| 43 | +- [.NET MAUI](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui) |
| 44 | +- [Github Actions](https://marketplace.visualstudio.com/items?itemName=github.vscode-github-actions) |
| 45 | +- [Copilot](https://marketplace.visualstudio.com/items?itemName=github.copilot) |
| 46 | +- [Copilot Chat](https://marketplace.visualstudio.com/items?itemName=github.copilot-chat) |
| 47 | + |
| 48 | +## Usage |
| 49 | + |
| 50 | +### Requirements |
| 51 | + |
| 52 | +- [Devcontainer CLI](https://containers.dev/supporting#devcontainer-cli) |
| 53 | + |
| 54 | +### Example |
| 55 | + |
| 56 | +```bash |
| 57 | +devcontainer templates apply -w . -t ghcr.io/dotmh/devcontainer/csharp -a '{"baseContainer":"devcontainer-dotnet"}` |
| 58 | +``` |
| 59 | +
|
| 60 | +#### Options |
| 61 | +
|
| 62 | +- `baseContainer` : |
| 63 | + - `devcontainer-dotnet` _DEFAULT_ - the ubuntu base container |
| 64 | + - `devcontainer-rocky-dotnet` - the rocky linux base container |
| 65 | + - `devcontainer-cloud-dotnet`- the ubuntu base container with cloud tools |
| 66 | + - `devcontainer-rocky-cloud-dotnet` - the rocky linux base container with cloud tools |
0 commit comments