-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
language/goIssue is related to a Go operator projectIssue is related to a Go operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
Bug Report
What did you do?
Upgraded to 1.39.1 of operator-sdk (go).
What did you expect to see?
Same building time for docker.
What did you see instead? Under which circumstances?
Increase of time from 15mins to 50mins of build.
Environment
Operator type:
/language go
Kubernetes cluster type:
$ operator-sdk version
1.39.1
$ go version
(if language is Go)
1.24.1
Possible Solution
Rollback change introduced in 1.34.0
Additional context
I made the change introduced in 1.34.0 and the building time of the docker image increased from 15mins before to 50mins after.
The pain point is on this line: RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -o manager cmd/main.go
Metadata
Metadata
Assignees
Labels
language/goIssue is related to a Go operator projectIssue is related to a Go operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.