Build a Docker image without Docker caching.

This commit is contained in:
Andrew Ferrier 2015-01-28 18:34:36 +03:00
parent 307dac4719
commit b15e6b2791
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,9 @@ builddeb:
builddocker:
docker build -t andrewferrier/email2pdf .
builddocker_nocache:
docker build --no-cache -t andrewferrier/email2pdf .
rundocker_interactive: builddocker
docker run -i -t andrewferrier/email2pdf /sbin/my_init -- bash -l

View file

@ -56,6 +56,8 @@ also. You can run the following `make` targets:
* `builddocker` - build a Docker image, which can be used for testing,
development, etc.
* `builddocker_nocache` - build a Docker image without Docker caching.
* `rundocker_interactive` - build and start a Docker image, at the `bash`
prompt.