raspiMake helps you to quickly create new SD cards with either Raspbian Jessie Lite or Raspbian Stretch Lite.
It consist of a Makefile that will help you create raspbian-lite SD cards on Mac OSX. You might get it to work on Linux as well, but I have not put any thought into making it work across the borders. This Makefile supports creating /boot/ssh and /boot/wpa_supplicant.conf automatically.
- Raspberry pi
Find more info here: https://github.com/maglub/pilogger