bump golang to 1.20.1 to address buildvcs=true failure

The older golang:1.19.3-alpine3.15 as builder is failing, due to
the go build error 'error obtaining VCS status: exit status 128'.

Bumping the builder image to golang:1.20.1-alpine3.17  fixes
the this go build failure.
This commit is contained in:
William Blew 2023-02-26 13:40:22 -08:00
parent d446d1b0ea
commit 29fa6a50ab

View file

@ -2,7 +2,7 @@ ARG IMAGE=scratch
ARG OS=linux
ARG ARCH=amd64
FROM golang:1.19.3-alpine3.15 as builder
FROM golang:1.20.1-alpine3.17 as builder
WORKDIR /go/src/github.com/eko/pihole-exporter
COPY . .