15 lines
299 B
Go
15 lines
299 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"dagger.cloud/go/dagger"
|
||
|
"github.com/moby/buildkit/frontend/gateway/grpcclient"
|
||
|
"github.com/moby/buildkit/util/appcontext"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
r := &dagger.Runtime{}
|
||
|
if err := grpcclient.RunFromEnvironment(appcontext.Context(), r.BKFrontend); err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|