Plenty of people develop on macOS and deploy on Linux (this isn't completely reliable but people consider it good enough for Ruby/Python/Node.js) so I could imagine a portable Dockerfile that generates either a macOS image or a Linux image depending where it is built. This would speed development dramatically.