Add docker runtime image (#21)

Closes #17
This commit is contained in:
Adrian Macneil 2018-01-07 19:08:43 -08:00 committed by GitHub
parent f150d6aeff
commit 4e01c75eca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 19 deletions

View file

@ -42,6 +42,14 @@ $ sudo curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/re
$ sudo chmod +x /usr/local/bin/dbmate
```
**Docker**
You can run dbmate using the official docker image:
```sh
$ docker run --rm amacneil/dbmate --help
```
**Heroku**
To use dbmate on Heroku, the easiest method is to store the linux binary in your git repository:
@ -55,7 +63,7 @@ $ git commit -m "Add dbmate binary"
$ git push heroku master
```
You can now run dbmate on heroku:
You can then run dbmate on heroku:
```sh
$ heroku run bin/dbmate-heroku up