func
func copied to clipboard
`builderImages` is ignored
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
- Create any func project
func create --language springboot myfunc - Change
func.yamlto contain
builderImages:
pack: paketobuildpacks/builder-jammy-full:latest
func build- notice it still usesghcr.io/knative/builder-jammy-base:latest
The doc seems to be outdated.
The builderImages option should be under build section.
build:
builderImages:
pack: paketobuildpacks/builder-jammy-full:latest
I can confirm that works @matejvasek I'll leave this issue open as the documentation needs to be updated.