This Dockerfile is the build image used for executing build tools when using netlify for continuous deployment.
Use this image to test locally if you're having build issues.
Run the image in interactive mode, and make sure to mount your repo as a volume, install the dependencies that are relevant to your project, and then run your build command:
cd path/to/my/repo
docker run -t -i -v $PWD:/opt/repo netlify/build /bin/bash
build jekyll build
Replace jekyll build
with your build command of choice.
Pull requests welcome, as long as they're not overly specific to a niche use-case.