some fix for build docker

This commit is contained in:
Ertuğrul Erata
2016-05-07 10:34:35 +03:00
parent a6c0e50d29
commit 9573f704c2
2 changed files with 7 additions and 3 deletions
+6 -3
View File
@@ -9,14 +9,17 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
NoStrip = ["/"]
NoStrip = ["/usr/lib/go/pkg", "/usr/lib/go/src/runtime/race", "/usr/lib/go/src/debug/elf", "/usr/lib/go/src/debug/dwarf"]
def build():
shelltools.export("go_platform","linux-amd64")
shelltools.export("go_linker","/lib/ld-linux-x86-64.so.2")
shelltools.export("GOROOT", "%s/go-go1.6.2" % get.workDIR()) #0
shelltools.export("GOBIN", "$GOROOT/bin") #1
shelltools.export("GOPATH", "%s" % get.workDIR())
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.6.2/go-linux-amd64-bootstrap" % get.workDIR()) #2
shelltools.export("GOOS","linux")