File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ REGISTRY_PATH: "docker.io/"
33
44# Virtualization images
55BASE_DEBIAN_BOOKWORM_SLIM : " debian:bookworm-slim@sha256:e9ac68ffde903b241342267a51cd74c5417414af652cb2e380c6ddcf522589bc"
6- BASE_CONTAINER_REGISTRY : " registry:2.8.3@sha256:ac0192b549007e22998eb74e8d8488dcfe70f1489520c3b144a6047ac5efbe90"
7- BASE_GOLANG_22_BOOKWORM : " golang:1.22.12-bookworm@sha256:3d699e4d15d0f8f13c9195c0632a16702b8cbdece2955af1c23b37ae5d55a253"
8- BASE_GOLANG_23_BOOKWORM : " golang:1.23.9-bookworm@sha256:26ca07ec0684ebe2154ad45a3a03710edb90b9cfc3769bead74ebcf6644dc759"
96
107BASE_ALT_P10 : " alt:p10@sha256:4fab03b8d23eb16147397b0bc41a5025ba59f4e834f7fb4b933ac5206431d740"
118# Digest for image created at 2024-09-20.
129BASE_ALT_P11 : " alt:p11@sha256:39f03d3bca1a92dc36835c28c2ba2f22ec15257e950b3930e0a3f034466e8dfb"
13- BASE_ALPINE : " alpine:3.17.10@sha256:3451da08fc6ef554a100da3e2df5ac6d598c82f2a774d5f6ed465c3d80cd163a"
Original file line number Diff line number Diff line change 33---
44image : {{ $.ImageName }}
55final : false
6- fromImage : BASE_GOLANG_23_BOOKWORM
6+ fromImage : builder/golang-bookworm-1.23
77mount :
88 - fromPath : ~/go-pkg-cache
99 to : /go/pkg
Original file line number Diff line number Diff line change 5151 ---
5252image : {{ $.ImageName }}-gobuild
5353final : false
54- fromImage : BASE_GOLANG_23_BOOKWORM
54+ fromImage : builder/golang-bookworm-1.23
5555git :
5656 - add : /images/{{ $.ImageName }}/cloner-startup
5757 to : /app
Original file line number Diff line number Diff line change 11---
22image : {{ $.ImageName }}-builder
33final : false
4- fromImage : BASE_GOLANG_23_BOOKWORM
4+ fromImage : builder/golang-bookworm-1.23
55git :
66- add : /images/{{ $.ImageName }}
77 to : /src
Original file line number Diff line number Diff line change 11---
22image : {{ $.ImageName }}
33final : false
4- fromImage : BASE_GOLANG_23_BOOKWORM
4+ fromImage : builder/golang-bookworm-1.23
55git :
66- add : /images/{{ $.ImageName }}
77 to : /app/images/hooks
Original file line number Diff line number Diff line change 11---
22image : {{ $.ImageName }}-builder
33final : false
4- fromImage : BASE_GOLANG_23_BOOKWORM
4+ fromImage : builder/golang-bookworm-1.23
55git :
66 - add : /images/{{ $.ImageName }}
77 to : /src/kube-api-rewriter
Original file line number Diff line number Diff line change 11---
22image : pre-delete-hook-builder
33final : false
4- fromImage : BASE_GOLANG_23_BOOKWORM
4+ fromImage : builder/golang-bookworm-1.23
55git :
66- add : /images/{{ $.ImageName }}
77 to : /pre-delete-hook
Original file line number Diff line number Diff line change 11---
22# Source https://github.com/kubevirt/kubevirt/blob/v1.3.1/hack/dockerized#L15
33{{- $version := "1.3.1" }}
4- {{- $goVersion := "1.22.12" }}
54
65{{- $name := print $.ImageName "-dependencies" -}}
76{{- define "$name" -}}
5958 echo -n "Apply ${p} ... "
6059 git apply --ignore-space-change --ignore-whitespace ${p} && echo OK || (echo FAIL ; exit 1)
6160 done
62- - go mod edit -go={{ $goVersion }}
6361 - go mod download
6462 - echo Update modules to mitigate CVEs...
6563 - |
7270 go get github.com/cilium/ebpf/internal@v0.11.0
7371
7472 # CVE-2024-45337,CVE-2025-22869
75- go get golang.org/x/crypto@v0.38.0
73+ go mod edit -replace golang.org/x/crypto= golang.org/x/crypto@v0.38.0
7674 # CVE-2025-22870, CVE-2025-22872
77- go get golang.org/x/net@v0.40.0
75+ go mod edit -replace golang.org/x/net= golang.org/x/net@v0.40.0
7876
7977 - go mod vendor
8078
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ shell:
436436 ---
437437image : {{ $.ImageName }}-gobuilder
438438final : false
439- fromImage : BASE_GOLANG_23_BOOKWORM
439+ fromImage : builder/golang-bookworm-1.23
440440git :
441441 - add : /images/{{ $.ImageName }}/node-labeller
442442 to : /node-labeller
Original file line number Diff line number Diff line change 11---
22image : {{ $.ImageName }}
33final : false
4- fromImage : BASE_GOLANG_23_BOOKWORM
4+ fromImage : builder/golang-bookworm-1.23
55git :
66- add : /api
77 to : /usr/local/go/api
You can’t perform that action at this time.
0 commit comments