|
|
@@ -9,6 +9,7 @@ import (
|
|
|
"github.com/buildpacks/pack"
|
|
|
"github.com/porter-dev/porter/api/types"
|
|
|
"github.com/porter-dev/porter/cli/cmd/docker"
|
|
|
+ "github.com/porter-dev/porter/internal/integrations/buildpacks"
|
|
|
)
|
|
|
|
|
|
type Agent struct{}
|
|
|
@@ -33,7 +34,7 @@ func (a *Agent) Build(opts *docker.BuildOpts, buildConfig *types.BuildConfig) er
|
|
|
buildOpts := pack.BuildOptions{
|
|
|
RelativeBaseDir: filepath.Dir(absPath),
|
|
|
Image: fmt.Sprintf("%s:%s", opts.ImageRepo, opts.Tag),
|
|
|
- Builder: "paketobuildpacks/builder:full",
|
|
|
+ Builder: buildpacks.DefaultBuilder,
|
|
|
AppPath: opts.BuildContext,
|
|
|
TrustBuilder: true,
|
|
|
Env: opts.Env,
|