diff --git a/Dockerfile b/Dockerfile index b846fb4..0145e16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /workspace diff --git a/Dockerfile copy.node-exporter b/Dockerfile copy.node-exporter index 4841b2f..270b912 100644 --- a/Dockerfile copy.node-exporter +++ b/Dockerfile copy.node-exporter @@ -1,5 +1,5 @@ # Build the runner binary -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/Dockerfile.busybox b/Dockerfile.busybox index 9262e4a..ac13c71 100644 --- a/Dockerfile.busybox +++ b/Dockerfile.busybox @@ -1,5 +1,5 @@ # Build the runner binary -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/Dockerfile.node-exporter b/Dockerfile.node-exporter index 4841b2f..270b912 100644 --- a/Dockerfile.node-exporter +++ b/Dockerfile.node-exporter @@ -1,5 +1,5 @@ # Build the runner binary -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/go.mod b/go.mod index db6569c..edc3208 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module example.com/gocr -go 1.20 +go 1.22 require ( github.com/fsnotify/fsnotify v1.7.0