Skip to content

Commit 39acd6e

Browse files
committed
- Add docker release
1 parent f908c6c commit 39acd6e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM dannyben/alpine-ruby
2+
3+
ENV PS1 "\n\n>> completely \W \$ "
4+
WORKDIR /app
5+
6+
RUN gem install completely --version 0.4.3
7+
8+
ENTRYPOINT ["completely"]

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ or with homebrew:
3232
```bash
3333
$ brew install brew-gem
3434
$ brew gem install completely
35-
````
35+
```
36+
37+
oe with Docker:
38+
39+
```bash
40+
alias completely='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/completely'
41+
```
3642

3743
## Using the `completely` command line
3844

Runfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ version Completely::VERSION
99

1010
RunfileTasks::RubyGems.all 'completely'
1111
RunfileTasks::Testing.rspec
12+
RunfileTasks::Docker.all 'dannyben/completely', Completely::VERSION
1213

1314
help "Run interactive console"
1415
action :console, :c do

0 commit comments

Comments
 (0)