build docker images from an arbitrary file