Skip to content

keyolk/llb-gobuild

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llb-gobuild

Generate BuildKit LLB definition for building a golang package.

src := llb.Local("src")

gb := gobuild.New(nil)
// gb := gobuild.New(&gobuild.Opt{DevMode: true})

buildctl, err := gb.BuildExe(gobuild.BuildOpt{
	Source:    src,
	MountPath: "/go/src/github.com/moby/buildkit",
	Pkg:       "github.com/moby/buildkit/cmd/buildctl",
	BuildTags: []string{},
})
if err != nil {
	return err
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%