You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
603 B
Go
25 lines
603 B
Go
package main
|
|
|
|
import (
|
|
"github.com/docker/cli/cli-plugins/manager"
|
|
"github.com/docker/cli/cli-plugins/plugin"
|
|
"github.com/docker/cli/cli/command"
|
|
"github.com/spf13/cobra"
|
|
"github.com/tonistiigi/buildx/commands"
|
|
"github.com/tonistiigi/buildx/version"
|
|
|
|
_ "github.com/tonistiigi/buildx/driver/docker"
|
|
_ "github.com/tonistiigi/buildx/driver/docker-container"
|
|
)
|
|
|
|
func main() {
|
|
plugin.Run(func(dockerCli command.Cli) *cobra.Command {
|
|
return commands.NewRootCmd(dockerCli)
|
|
},
|
|
manager.Metadata{
|
|
SchemaVersion: "0.1.0",
|
|
Vendor: "Docker Inc.",
|
|
Version: version.Version,
|
|
})
|
|
}
|