Split docker images

for faster build of the master image in docker hub.