diff --git a/internal/builder/builder.go b/internal/builder/builder.go index f53567e29..06ee3fa52 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -102,7 +102,6 @@ type moduleWithDiffID struct { type BuilderOption func(*options) error type options struct { - runImage string toFlatten buildpack.FlattenModuleInfos labels map[string]string runImage string @@ -115,13 +114,6 @@ func WithRunImage(name string) BuilderOption { } } -func WithRunImage(name string) BuilderOption { - return func(o *options) error { - o.runImage = name - return nil - } -} - // FromImage constructs a builder from a builder image func FromImage(img imgutil.Image) (*Builder, error) { return constructBuilder(img, "", true)