packer-cn/plugin/post-processor-docker-import/main.go

16 lines
291 B
Go

package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/docker-import"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(dockerimport.PostProcessor))
server.Serve()
}