@@ -30,6 +30,7 @@ import (
3030 "github.com/e2b-dev/infra/packages/shared/pkg"
3131 artifactsregistry "github.com/e2b-dev/infra/packages/shared/pkg/artifacts-registry"
3232 "github.com/e2b-dev/infra/packages/shared/pkg/dockerhub"
33+ featureflags "github.com/e2b-dev/infra/packages/shared/pkg/feature-flags"
3334 "github.com/e2b-dev/infra/packages/shared/pkg/id"
3435 "github.com/e2b-dev/infra/packages/shared/pkg/storage"
3536 "github.com/e2b-dev/infra/packages/shared/pkg/utils"
@@ -61,6 +62,7 @@ type BaseBuilder struct {
6162 templateStorage storage.StorageProvider
6263 artifactRegistry artifactsregistry.ArtifactsRegistry
6364 dockerhubRepository dockerhub.RemoteRepository
65+ featureFlags * featureflags.Client
6466
6567 layerExecutor * layer.LayerExecutor
6668 index cache.Index
@@ -69,6 +71,7 @@ type BaseBuilder struct {
6971
7072func New (
7173 buildContext buildcontext.BuildContext ,
74+ featureFlags * featureflags.Client ,
7275 logger * zap.Logger ,
7376 proxy * proxy.SandboxProxy ,
7477 templateStorage storage.StorageProvider ,
@@ -89,6 +92,7 @@ func New(
8992 artifactRegistry : artifactRegistry ,
9093 dockerhubRepository : dockerhubRepository ,
9194 sandboxFactory : sandboxFactory ,
95+ featureFlags : featureFlags ,
9296
9397 layerExecutor : layerExecutor ,
9498 index : index ,
0 commit comments