build dockerfile from scratch