From 4396dbf5122ed0e056412915c4b559ef6378d4fd Mon Sep 17 00:00:00 2001 From: Elan Hasson <234704+ElanHasson@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:17:20 -0500 Subject: [PATCH] Set default apps dev build image to CNBBuilderImage_Heroku22 --- internal/apps/builder/cnb.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 }