github.com/rothwerx/packer@v0.9.0/plugin/builder-amazon-chroot/main.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/mitchellh/packer/builder/amazon/chroot"
     5  	"github.com/mitchellh/packer/packer/plugin"
     6  )
     7  
     8  func main() {
     9  	server, err := plugin.Server()
    10  	if err != nil {
    11  		panic(err)
    12  	}
    13  	server.RegisterBuilder(new(chroot.Builder))
    14  	server.Serve()
    15  }