Merge pull request #392 from AkihiroSuda/fix-example-libseccomp
examples/buildkit*: add libseccomp-devdocker-18.09
commit
6a9afe4249
|
@ -37,7 +37,7 @@ func goBuildBase() llb.State {
|
||||||
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
||||||
AddEnv("GOPATH", "/go").
|
AddEnv("GOPATH", "/go").
|
||||||
Run(llb.Shlex("apk add --no-cache g++ linux-headers")).
|
Run(llb.Shlex("apk add --no-cache g++ linux-headers")).
|
||||||
Run(llb.Shlex("apk add --no-cache git make")).Root()
|
Run(llb.Shlex("apk add --no-cache git libseccomp-dev make")).Root()
|
||||||
}
|
}
|
||||||
|
|
||||||
func runc(version string) llb.State {
|
func runc(version string) llb.State {
|
||||||
|
|
|
@ -37,7 +37,7 @@ func goBuildBase() llb.State {
|
||||||
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
||||||
AddEnv("GOPATH", "/go").
|
AddEnv("GOPATH", "/go").
|
||||||
Run(llb.Shlex("apk add --no-cache g++ linux-headers")).
|
Run(llb.Shlex("apk add --no-cache g++ linux-headers")).
|
||||||
Run(llb.Shlex("apk add --no-cache git make")).Root()
|
Run(llb.Shlex("apk add --no-cache git libseccomp-dev make")).Root()
|
||||||
}
|
}
|
||||||
|
|
||||||
func runc(version string) llb.State {
|
func runc(version string) llb.State {
|
||||||
|
|
|
@ -36,7 +36,7 @@ func goBuildBase() llb.State {
|
||||||
return goAlpine.
|
return goAlpine.
|
||||||
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
||||||
AddEnv("GOPATH", "/go").
|
AddEnv("GOPATH", "/go").
|
||||||
Run(llb.Shlex("apk add --no-cache g++ linux-headers make")).Root()
|
Run(llb.Shlex("apk add --no-cache g++ linux-headers libseccomp-dev make")).Root()
|
||||||
}
|
}
|
||||||
|
|
||||||
func goRepo(s llb.State, repo, ref string, g ...llb.GitOption) func(ro ...llb.RunOption) llb.State {
|
func goRepo(s llb.State, repo, ref string, g ...llb.GitOption) func(ro ...llb.RunOption) llb.State {
|
||||||
|
|
|
@ -37,7 +37,7 @@ func goBuildBase() llb.State {
|
||||||
return goAlpine.
|
return goAlpine.
|
||||||
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
AddEnv("PATH", "/usr/local/go/bin:"+system.DefaultPathEnv).
|
||||||
AddEnv("GOPATH", "/go").
|
AddEnv("GOPATH", "/go").
|
||||||
Run(llb.Shlex("apk add --no-cache g++ linux-headers make")).Root()
|
Run(llb.Shlex("apk add --no-cache g++ linux-headers libseccomp-dev make")).Root()
|
||||||
}
|
}
|
||||||
|
|
||||||
func goRepo(s llb.State, repo string, src llb.State) func(ro ...llb.RunOption) llb.State {
|
func goRepo(s llb.State, repo string, src llb.State) func(ro ...llb.RunOption) llb.State {
|
||||||
|
|
Loading…
Reference in New Issue