Build agent in containers