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

16 lines
287 B
Go
Raw Normal View History

2014-07-20 16:58:07 -04:00
package main
import (
"github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/post-processor/docker-save"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterPostProcessor(new(dockersave.PostProcessor))
server.Serve()
}