Skip to content

[go] func build installs go twice? #3178

@dprotaso

Description

@dprotaso

I updated the go.mod file to set the go version to 1.25

I'm seeing go toolchain being downloaded twice now which seems unnecessary

Running build command
Paketo Buildpack for Go Distribution 2.7.14
  Resolving Go version
    Candidate version sources (in priority order):
      <unknown> -> ""

    Selected Go version (using <unknown>): 1.23.11

  Executing build process
    Installing Go 1.23.11
      Completed in 56.384s

  Generating SBOM for /layers/paketo-buildpacks_go-dist/go
      Completed in 0s

Processing layers
Updating environment
Reading output files
Updating buildpack processes
Updating process list
Finished running build for buildpack paketo-buildpacks/go-dist@2.7.14
Running build for buildpack dev.knative-extensions.go@0.0.6
Looking up buildpack
Finding plan
Creating plan directory
Preparing paths
Running build command
> Knative Functions Go Buildpack
  Fetching framework dependencies
go: downloading go1.25.0 (linux/arm64)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions