func icon indicating copy to clipboard operation
func copied to clipboard

`builderImages` is ignored

Open braunsonm opened this issue 1 year ago • 2 comments

builderImages configuration in func.yaml is documented here: https://github.com/knative/func/blob/main/docs/reference/func_yaml.md#builderimages

However, no matter the value placed in this configuration, the builderImages.pack is ignored by both the func build and func deploy commands.

Reproduction

  1. Create any func project func create --language springboot myfunc
  2. Change func.yaml to contain
builderImages:
  pack: paketobuildpacks/builder-jammy-full:latest
  1. func build - notice it still uses ghcr.io/knative/builder-jammy-base:latest

braunsonm avatar Feb 26 '24 19:02 braunsonm

The doc seems to be outdated. The builderImages option should be under build section.

build:
  builderImages:
    pack: paketobuildpacks/builder-jammy-full:latest

matejvasek avatar Feb 27 '24 14:02 matejvasek

I can confirm that works @matejvasek I'll leave this issue open as the documentation needs to be updated.

braunsonm avatar Feb 27 '24 17:02 braunsonm