diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d931155 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM dannyben/alpine-ruby + +ENV PS1 "\n\n>> completely \W \$ " +WORKDIR /app + +RUN gem install completely --version 0.4.3 + +ENTRYPOINT ["completely"] \ No newline at end of file diff --git a/README.md b/README.md index c46afcc..16412bb 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,13 @@ or with homebrew: ```bash $ brew install brew-gem $ brew gem install completely -```` +``` + +or with Docker: + +```bash +alias completely='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/completely' +``` ## Using the `completely` command line diff --git a/Runfile b/Runfile index 160d168..40ea393 100644 --- a/Runfile +++ b/Runfile @@ -9,6 +9,7 @@ version Completely::VERSION RunfileTasks::RubyGems.all 'completely' RunfileTasks::Testing.rspec +RunfileTasks::Docker.all 'dannyben/completely', Completely::VERSION help "Run interactive console" action :console, :c do