An IDE docker image with tools for dotnet development.
Based on microsoft/dotnet
image. Implements a few conventions from IDE project,
which provides a quick and repeatable method for building your projects (in docker) without installing anything.
There 4 variants of this image. Because mono is still needed in some projects.
- basic (everything) mono and dotnet core. tag:
<version>
- core only (debian stretch). tag
stretch-<version>
- core only (ubuntu bionic). tag
bionic-<version>
- core only (alpine 3.7). tag
alpine3.7-<version>
This image has installed:
- dotnet SDK 2.1
- NuGet CLI
- Paket installed globally.
5.182.0-alpha001
- Fake installed globally.
- (only in mono-variant) Mono
5.14.0.177
- Install IDE. (It's just a script on $PATH)
- In your project you should have an
Idefile
IDE_DRIVER=docker
IDE_DOCKER_IMAGE="tomzo/dotnet-ide:2.0.0"
- Run some build commands:
ide paket install
ide msbuild /t:Publish
By default, current directory in docker container is /ide/work
,
which is a mount from your current docker host.
You can also enter interactive mode by just running ide
in the root of your project.
- multi-target dotnet project using msbuild
- dotnet SDK only project using newest paket and fake
MIT