diff options
author | Jakub Warmuz <jakub@warmuz.org> | 2015-05-05 11:26:23 +0300 |
---|---|---|
committer | Jakub Warmuz <jakub@warmuz.org> | 2015-05-05 11:26:23 +0300 |
commit | 64a00d37bb6653f885b0b68d7c9bce9f0a3e4fef (patch) | |
tree | 74c737f90b5b366cd9775ec247fa6b564beb80ce /.dockerignore | |
parent | 3a0db7efa13fad1793bfdfb04a940d0c8d84f610 (diff) |
Update docker setup.
Changes:
- uses debian:jessie as base image (more lightweight)
- .dockerignore .git/.tox to speed up build process considerably
- more caching-aware Dockerfile
- copy current directory instead of git cloning the repo inside the container
- /etc/letsencrypt and /var/lib/letsencrypt volumes;
no need for "if os.environ.get" hack
bootstrap script for debian had to be adjusted, as lsb_release is not
present in debian:jessie image.
Diffstat (limited to '.dockerignore')
-rw-r--r-- | .dockerignore | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..b1a1a48bf --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +# this file uses slightly different syntax that .gitignore, +# e.g. ".tox/" will not ignore .tox directory + +# well, official docker build should be done on clean git checkout +# anyway, so .tox should be empty... But I'm sure people will try to +# test docker on their git working directories. + +.git +.tox
\ No newline at end of file |