Create a wrapper docker build shell script that grabs the file then calls docker build
then removes the file.
a simple solution not mentioned anywhere here from my quick skim:
- have a wrapper script called
docker_build.sh
- have it create tarballs, copy large files to the current working directory
- call
docker build
- clean up the tarballs, large files, etc