diff --git a/Dockerfile b/Dockerfile index 64583d8..74382bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine3.20 AS builder +FROM golang:1.23-alpine3.20 AS builder RUN apk add make git gcc musl-dev WORKDIR /work COPY . . diff --git a/Makefile b/Makefile index 403d877..f50d7ea 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ generate-in-docker: tidy $(HELM) $(YQ) .PHONY: check-generate check-generate: - @bash $(GARDENER_HACK_DIR)/check-generate.sh $(REPO_ROOT) + @$(REPO_ROOT)/vendor/github.com/gardener/gardener/hack/check-generate.sh $(REPO_ROOT) .PHONY: check check: $(GOIMPORTS) $(GOLANGCI_LINT) $(HELM) diff --git a/go.mod b/go.mod index 9ef1bb0..ccdaf9b 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/metal-stack/os-metal-extension -go 1.22.2 - -toolchain go1.22.6 +go 1.23 require ( github.com/ahmetb/gen-crd-api-reference-docs v0.3.0