Skip to content

Commit

Permalink
Set default apps dev build image to CNBBuilderImage_Heroku22
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson authored Dec 19, 2023
1 parent e00fee2 commit 4396dbf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/apps/builder/cnb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 4396dbf

Please sign in to comment.