From c1d070eff45c0860a13d46944833b9f7a1ccb88d Mon Sep 17 00:00:00 2001 From: Mohamad Arab Date: Mon, 24 Jun 2024 19:27:55 +0000 Subject: [PATCH] Updating the Go version to 1.20 --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7f2d0a..564e8c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.1-alpine as build +FROM golang:1.20alpine as build ARG TARGETPLATFORM RUN echo "Building for ${TARGETPLATFORM}" diff --git a/go.mod b/go.mod index dde382d..1deb411 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/boynux/squid-exporter -go 1.19 +go 1.20 require ( github.com/go-kit/log v0.2.1