File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ mod-vendor: module ## Run go mod vendor against go modules.
162162
163163.PHONY : module
164164module : # # Run go mod tidy->verify against go modules.
165- $(GO ) mod tidy -compat=1.24
165+ $(GO ) mod tidy -compat=1.25
166166 $(GO ) mod verify
167167
168168TEST_PACKAGES ?= ./pkg/... ./apis/... ./controllers/... ./cmd/...
@@ -298,7 +298,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
298298
299299.PHONY : reviewable
300300reviewable : generate build-checks test check-license-header # # Run code checks to proceed with PR reviews.
301- $(GO ) mod tidy -compat=1.23
301+ $(GO ) mod tidy -compat=1.25
302302
303303.PHONY : check-diff
304304check-diff : reviewable # # Run git code diff checker.
Original file line number Diff line number Diff line change 11# Build the manager binary
22ARG DIST_IMG=gcr.io/distroless/static:nonroot
33
4- ARG GO_VERSION=1.24.11 -alpine
4+ ARG GO_VERSION=1.25.10 -alpine
55
66FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS builder
77
Original file line number Diff line number Diff line change @@ -10,5 +10,7 @@ RUN bash /tmp/fetch-all-helm-charts.sh deploy/helm /tmp/charts
1010
1111FROM docker.io/alpine:3.22 AS dist
1212
13+ RUN apk upgrade --no-cache
14+
1315COPY --from=builder /tmp/charts /charts
14- USER 65532:65532
16+ USER 65532:65532
Original file line number Diff line number Diff line change 11# Build the dataprotection binary
22ARG DIST_IMG=gcr.io/distroless/static:nonroot
33
4- ARG GO_VERSION=1.24.11 -alpine
4+ ARG GO_VERSION=1.25.10 -alpine
55
66FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS builder
77
Original file line number Diff line number Diff line change 1111#TARGETARCH - Architecture from --platform, e.g. arm64
1212#TARGETVARIANT - used to set target ARM variant, e.g. v7
1313
14- ARG GO_VERSION=1.24.11 -alpine
14+ ARG GO_VERSION=1.25.10 -alpine
1515
1616FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS builder
1717ARG TARGETOS
@@ -58,6 +58,7 @@ ARG APK_MIRROR
5858# install tools via apk
5959ENV APK_MIRROR=${APK_MIRROR}
6060RUN if [ -n "${APK_MIRROR}" ]; then sed -i "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories; fi
61+ RUN apk upgrade --no-cache
6162# curl is used to send certain requests, such as reload in config-manager.
6263RUN apk add --no-cache curl kubectl helm jq --allow-untrusted \
6364 && rm -rf /var/cache/apk/*
Original file line number Diff line number Diff line change 11# Build the manager binary
22ARG DIST_IMG=registry.access.redhat.com/ubi9:9.7
33
4- ARG GO_VERSION=1.24.11 -alpine
4+ ARG GO_VERSION=1.25.10 -alpine
55
66FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS builder
77
Original file line number Diff line number Diff line change 11module github.com/apecloud/kubeblocks
22
3- go 1.24.0
3+ go 1.25
44
5- toolchain go1.24.11
5+ toolchain go1.25.10
66
77require (
88 cuelang.org/go v0.8.0
You can’t perform that action at this time.
0 commit comments