File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515# Build the manager binary
16- FROM --platform=$BUILDPLATFORM golang:1.24 AS builder
16+ FROM --platform=$BUILDPLATFORM golang:1.25 AS builder
1717ARG TARGETOS
1818ARG TARGETARCH
1919
2020WORKDIR /workspace
2121# Copy the Go Modules manifests
22- COPY go.mod go.mod
23- COPY go.sum go.sum
22+ COPY go.mod go.sum ./
2423# cache deps before building and copying source so that we don't need to re-download as much
2524# and so that source changes don't invalidate our downloaded layer
2625RUN go mod download
Original file line number Diff line number Diff line change 1- FROM --platform=$BUILDPLATFORM golang:1.24 AS builder
1+ FROM --platform=$BUILDPLATFORM golang:1.25 AS builder
22ARG TARGETOS
33ARG TARGETARCH
44
55WORKDIR /workspace
66
7- COPY go.mod go.mod
8- COPY go.sum go.sum
7+ COPY go.mod go.sum ./
98
109RUN go mod download
1110
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ run: manifests generate fmt vet ## Run a controller from your host.
176176# More info: https://docs.docker.com/develop/develop-images/build_enhancements/
177177.PHONY : docker-build
178178docker-build : # # Build docker image with the manager.
179- $(CONTAINER_TOOL ) build -t ${IMG_PREFIX} :${IMG_TAG} .
179+ DOCKER_BUILDKIT=1 $(CONTAINER_TOOL ) build -t ${IMG_PREFIX} :${IMG_TAG} .
180180
181181.PHONY : docker-push
182182docker-push : # # Push docker image with the manager.
@@ -198,7 +198,7 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
198198
199199.PHONY : docker-build-reporter
200200docker-build-reporter : # # Build docker image with the reporter.
201- $(CONTAINER_TOOL ) build -f Dockerfile.reporter -t ${IMG_PREFIX} :${IMG_TAG} .
201+ DOCKER_BUILDKIT=1 $(CONTAINER_TOOL ) build -f Dockerfile.reporter -t ${IMG_PREFIX} :${IMG_TAG} .
202202
203203.PHONY : docker-push-reporter
204204docker-push-reporter : # # Push docker image with the reporter.
Original file line number Diff line number Diff line change 11module sigs.k8s.io/node-readiness-controller
22
3- go 1.24.0
3+ go 1.25
44
55require (
66 github.com/onsi/ginkgo/v2 v2.27.2
You can’t perform that action at this time.
0 commit comments