def __init__(self, fname, binrepopath, baseimage=BASEIMAGE): Docker.__init__(self) self.repopath = "%s/%s" % (REPOPATH, binrepopath) os.system("cp %s %s/." % (fname, self.repopath)) self.params.volume(self.repopath, '/root') self.set_image_name(baseimage) self.run("pisi index . --skip-signing")
def __init__(self, fname): Docker.__init__(self) os.system("cp %s %s/." % (fname, REPOPATH)) self.params.volume(REPOPATH, '/repo') self.set_image_name(BASEIMAGE) self.run("cd /repo && pisi index . --skip-signing")
def __init__(self): Docker.__init__(self) self.params.volume(REPOPATH, '/repo') self.set_image_name(BASEIMAGE) self.run("cd %s && pisi index . --skip-signing" % BASEIMAGE)