fixed some commands in the dockerfiles for the director and agent