Docker and volumes hell
We’re increasingly using Docker to build packages, a fresh chroot in which we prepare a number of packages, builds typically for ruby (rvm) , or python (virtualenv) or node stuf where the language ecosystem fails on us … and fpm the whole tree as a working artifact.
An example of such a build is my work on packaging Dashing. https://github.com/KrisBuytaert/build-dashing
Now part of that build is running the actual build script in docker with a local volume mounted inside the container This is your typical -v=/home/src/dashing-docker/package-scripts:/scripts param.