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 b709f7f commit 4a57dc3Copy full SHA for 4a57dc3
pkg/builders/buildpacks/builder.go
@@ -119,6 +119,10 @@ var DefaultLifecycleImage = "docker.io/buildpacksio/lifecycle:553c041"
119
120
// Build the Function at path.
121
func (b *Builder) Build(ctx context.Context, f fn.Function, platforms []fn.Platform) (err error) {
122
+ if f.Runtime == "python" {
123
+ return fmt.Errorf("python is not currently supported with pack builder (use host or s2i builder instead")
124
+ }
125
+
126
if len(platforms) != 0 {
127
return errors.New("the pack builder does not support specifying target platforms directly.")
128
}
0 commit comments