Improve Docker build; reduce image size & layer count

Reducing layer count improves Docker performance, and is best-practice.
Avoid packing & sending .git tree into Docker build system.
Clean up apt archives to reduce image size.
This commit is contained in:
Toby
2016-06-02 10:51:41 +10:00
parent 74a011fb4d
commit d2e83d197d
3 changed files with 8 additions and 16 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
.git