depend new docker-1.10.3

This commit is contained in:
Ertuğrul Erata
2018-06-17 17:53:25 +03:00
parent de015f796b
commit 213894700a
4 changed files with 22 additions and 5 deletions
+19 -2
View File
@@ -10,12 +10,29 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("GOPATH", "%s" % get.workDIR())
#shelltools.export("GOPATH", "%s" % get.curDIR())
shelltools.export("DOCKER_BUILDTAGS","seccomp")
shelltools.export("COMMIT","4fc53a8")
shelltools.export("BINDIR","/usr/bin")
def setup():
shelltools.cd("%s" % get.workDIR())
shelltools.move("runc-*", "runc")
shelltools.cd("runc")
shelltools.move("vendor", "src")
shelltools.makedirs("src/github.com/opencontainers")
shelltools.cd("src/github.com/opencontainers")
shelltools.system("ln -rsf %s/runc ./runc" % get.workDIR())
def build():
autotools.make()
shelltools.cd("%s/runc/src/github.com/opencontainers/runc" % get.workDIR())
build_runc = "GOPATH=%s/runc make COMMIT=4fc53a8" % get.workDIR()
shelltools.system(build_runc)
def install():
pisitools.dobin("runc")
+1 -1
View File
@@ -13,7 +13,7 @@
<Description>CLI tool for managing OCI compliant containers</Description>
<Archive sha1sum="dcc87b404034fff66f9d4c4e2983f3483157ad71" type="targz">https://github.com/opencontainers/runc/archive/v1.0.0-rc5.tar.gz</Archive>
<BuildDependencies>
<Dependency>golang</Dependency>
<Dependency versionFrom="1.10.3">golang</Dependency>
<Dependency>libseccomp-devel</Dependency>
</BuildDependencies>
</Source>