Build a docker image to compile on Mac OSX