Merge pull request #392 from AkihiroSuda/fix-example-libseccomp

examples/buildkit*: add libseccomp-dev
docker-18.09
Tõnis Tiigi 2018-05-17 14:06:46 -07:00 committed by GitHub
commit 6a9afe4249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {