We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58fb81a commit dfe2109Copy full SHA for dfe2109
pkg/builders/buildpacks/builder.go
@@ -120,6 +120,10 @@ var DefaultLifecycleImage = "docker.io/buildpacksio/lifecycle:553c041"
120
121
// Build the Function at path.
122
func (b *Builder) Build(ctx context.Context, f fn.Function, platforms []fn.Platform) (err error) {
123
+ if f.Runtime == "python" {
124
+ return fmt.Errorf("python is not currently supported with pack builder (use host or s2i builder instead")
125
+ }
126
+
127
if len(platforms) != 0 {
128
return errors.New("the pack builder does not support specifying target platforms directly")
129
}
0 commit comments