2013-11-08 19:57:13 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/builder/docker"
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-10 16:59:38 -05:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterBuilder(new(docker.Builder))
|
|
|
|
server.Serve()
|
2013-11-08 19:57:13 -05:00
|
|
|
}
|