Exemple #1
0
 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")
Exemple #2
0
 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")
Exemple #3
0
 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")
Exemple #4
0
 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)
Exemple #5
0
 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)