PTAnywhere / ptAnywhere-installation

PTAnywhere installation script for a Linux distribution using Ansible (and optionally Vagrant).
Apache License 2.0
16 stars 4 forks source link

Context directories used in Docker builds should only contain the files needed to build each image #5

Closed gomezgoiri closed 8 years ago

gomezgoiri commented 8 years ago

Dockerfile reference recommends to create specific context folders with only the necessary files and folders.

So far, I am using the home folder for storing Dockerfiles. This folder has files unrelated to the different images I create in the process. Therefore, Docker daemon receives all these unnecessary files.

Note: I have checked that this does not affect image sizes, but I assume that it might affect the time needed to build an image as the folder needs to be transferred.