This image has the necessary tools to build, test, edit, lint and version the Libskycoin .NET source code. It comes with Vim editor installed, along with some plugins to ease go development and version control with git.
$ mkdir src
$ docker run --rm \
-v ${PWD}/src:/usr/local/src skycoin/skycoindev-dotnet:develop \
git clone https://github.com/simelo/libskycoin-dotnet.git \
$ sudo chown -R `whoami` src
This downloads the libdotnet source to src/libdotnet and changes the owner to your user. This is necessary, because all processes inside the container run as root and the files created by it are therefore owned by root.
You can run commands by just passing the them to the image. Everything is run in a container and deleted when finished.
$ docker run --rm \
-v ${PWD}/src:/usr/local/src simelotech/skycoindev-dotnet:develop \
sh -c "cd libskycoin-dotnet; make test"
$ docker run --rm \
-v ${PWD}/src:/usr/local/src simelotech/skycoindev-dotnet:develop \
vim