Changed the docker files to work with trusted builds.