diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..92be2ee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM ruby:2.1.9-onbuild + +ENTRYPOINT ["./watch.rb"] diff --git a/Gemfile b/Gemfile index 93508ec..cc45987 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.1.6' +ruby '2.1.9' gem "octokit", "~> 3.0" gem 'thor', '0.19.1' diff --git a/README.md b/README.md index 4bcc79c..73352bf 100644 --- a/README.md +++ b/README.md @@ -64,3 +64,11 @@ docker run --rm -v ${PWD}:/scripts ruby:2.1 bash /scripts/build.sh ``` For this you also let Jenkins clone this repository and then put that script into the build commands. The tool will now run in a ruby container which is disposed afterwards. + +## Docker support + +Besides using your local ruby installation you can also run the watch command in +a Docker container like this: +```bash +docker run --rm -it Luzifer/github-masswatch [COMMAND] +```