Skip to content

Commit

Permalink
Merge pull request #131 from imjasonh/trimpath
Browse files Browse the repository at this point in the history
set -trimpath to builds
  • Loading branch information
imjasonh authored Mar 10, 2024
2 parents 54f6a7b + 21c3686 commit b787523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/resource_ko_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ var (

func (o *buildOptions) makeBuilder(ctx context.Context) (*build.Caching, error) {
bo := []build.Option{
build.WithTrimpath(true),
build.WithPlatforms(o.platforms...),
build.WithBaseImages(func(ctx context.Context, s string) (name.Reference, build.Result, error) {
ref, err := name.ParseReference(o.baseImage)
Expand Down

0 comments on commit b787523

Please sign in to comment.