Skip to content

Commit

Permalink
apps: Set default apps dev build image to CNBBuilderImage_Heroku22. (
Browse files Browse the repository at this point in the history
…#1476)

* Set default apps dev build image to CNBBuilderImage_Heroku22

* Make 18 the default
  • Loading branch information
ElanHasson authored Dec 20, 2023
1 parent e00fee2 commit db194b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/apps/builder/cnb.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,10 @@ func (b *CNBComponentBuilder) builderImage() string {
return b.builderImageOverride
}
for _, f := range b.spec.Features {
if strings.EqualFold(f, "buildpack-stack=ubuntu-22") {
return CNBBuilderImage_Heroku22
if strings.EqualFold(f, "buildpack-stack=ubuntu-18") {
return CNBBuilderImage_Heroku18
}
}

return CNBBuilderImage_Heroku18
return CNBBuilderImage_Heroku22
}

0 comments on commit db194b4

Please sign in to comment.