diff --git a/build/Dockerfile b/build/Dockerfile index f5b6eee9c6..78ff6a3cd5 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -65,7 +65,7 @@ USER 1001:0 ADD build/_output/bin/kamel-${IMAGE_ARCH} /usr/local/bin/kamel -FROM golang:1.21 AS go +FROM golang:1.22 AS go RUN go install github.com/go-delve/delve/cmd/dlv@latest diff --git a/docs/modules/ROOT/pages/contributing/developers.adoc b/docs/modules/ROOT/pages/contributing/developers.adoc index 98a905b680..e968e5d50b 100644 --- a/docs/modules/ROOT/pages/contributing/developers.adoc +++ b/docs/modules/ROOT/pages/contributing/developers.adoc @@ -22,7 +22,7 @@ There are many ways you can contribute to Camel K, not only software development In order to build the project, you need to comply with the following requirements: -* **Go version 1.21+**: needed to compile and test the project. Refer to the https://golang.org/[Go website] for the installation. +* **Go version 1.22+**: needed to compile and test the project. Refer to the https://golang.org/[Go website] for the installation. * **GNU Make**: used to define composite build actions. This should be already installed or available as a package if you have a good OS (https://www.gnu.org/software/make/). * **JDK version 17+**: the build requires JDK version 17 or above. This corresponds to the JDK version of the integration base image. * **Maven version 3.8+**: the build requires Maven 3.8 or above. This corresponds to the version defined in the `build/Dockerfile`. diff --git a/go.mod b/go.mod index 192d668812..82483924d5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/apache/camel-k/v2 -go 1.21 +go 1.22 require ( github.com/Masterminds/semver v1.5.0