You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi @juldrixx Are you interested in mult-arch builds? If so the make docker-buildx will build all architectures for you. If you only want single arch run make docker-build. The time increase makes sense, since the bug was only building on the plaftrom running the make command, instead of building all architectures in the list.
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
The text was updated successfully, but these errors were encountered: