diff --git a/internal/apps/builder/cnb.go b/internal/apps/builder/cnb.go index 73ec909b4..266a2870e 100644 --- a/internal/apps/builder/cnb.go +++ b/internal/apps/builder/cnb.go @@ -379,11 +379,6 @@ func (b *CNBComponentBuilder) builderImage() string { if b.builderImageOverride != "" { return b.builderImageOverride } - for _, f := range b.spec.Features { - if strings.EqualFold(f, "buildpack-stack=ubuntu-22") { - return CNBBuilderImage_Heroku22 - } - } - return CNBBuilderImage_Heroku18 + return CNBBuilderImage_Heroku22 }