mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-22 09:20:22 -05:00
15 lines
287 B
Go
15 lines
287 B
Go
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()
|
|
}
|