Support building a docker image.