diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..4351c767 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM microsoft/dotnet:2.2-sdk + +LABEL maintainer="erik@brandstadmoen.net" + +ENV PATH="$PATH:/root/.dotnet/tools" +RUN dotnet tool install dotnet-roundhouse -g + +ENTRYPOINT [ "rh" ] diff --git a/README.markdown b/README.markdown index e7b3c1ea..2e2307b7 100644 --- a/README.markdown +++ b/README.markdown @@ -67,6 +67,15 @@ https://natemcmaster.com/blog/2018/05/12/dotnet-global-tools/, but in short, it the binaries to your `~/.dotnet/tools` folder. You will need dotnet core installed on your box for this to work. You can get it here: [https://dot.net](https://dot.net). + + +### Docker: Dotnet core global tool + +You can easily integrate RoundhousE in your existing docker infrastructure. Use docker compose, or just pull it down directly and run it. Yopu should probably build upon the image, and add your own customisations, as appropriate. The docker image has the dotnet core global tool distribution of RoundhousE in a Alpine Linux bases container. + +1. Type `docker pull dotnetroundhouse/roundhouse` +1. Type `docker run dotnetroundhouse/roundhouse` + ### Source This is the best way to get to the bleeding edge of what we are doing.